mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
Changed to EveryTimerB
This commit is contained in:
parent
e7c76bf806
commit
ba873fb8bc
|
@ -11,8 +11,8 @@
|
||||||
#include "ATMEGA2560/Timer.h"
|
#include "ATMEGA2560/Timer.h"
|
||||||
#elif defined(ARDUINO_AVR_UNO)
|
#elif defined(ARDUINO_AVR_UNO)
|
||||||
#include "ATMEGA328/Timer.h"
|
#include "ATMEGA328/Timer.h"
|
||||||
#elif defined(ARDUINO_AVR_UNO_WIFI_REV2)
|
#elif defined(ARDUINO_ARCH_MEGAAVR)
|
||||||
#include "ATMEGA4809/Timer.h"
|
#include "ATMEGA4809/EveryTimerB.h"
|
||||||
#else
|
#else
|
||||||
#error "Cannot compile - ArduinoTimers library does not support your board, or you are missing compatible build flags."
|
#error "Cannot compile - ArduinoTimers library does not support your board, or you are missing compatible build flags."
|
||||||
#endif
|
#endif
|
||||||
|
|
4
DCC.h
4
DCC.h
|
@ -155,8 +155,8 @@ private:
|
||||||
#define ARDUINO_TYPE "NANO"
|
#define ARDUINO_TYPE "NANO"
|
||||||
#elif defined(ARDUINO_AVR_MEGA2560)
|
#elif defined(ARDUINO_AVR_MEGA2560)
|
||||||
#define ARDUINO_TYPE "MEGA"
|
#define ARDUINO_TYPE "MEGA"
|
||||||
#elif defined(ARDUINO_AVR_UNO_WIFI_REV2)
|
#elif defined(ARDUINO_ARCH_MEGAAVR)
|
||||||
#define ARDUINO_TYPE "UNOWIFIR2"
|
#define ARDUINO_TYPE "MEGAAVR"
|
||||||
#else
|
#else
|
||||||
#error CANNOT COMPILE - DCC++ EX ONLY WORKS WITH AN ARDUINO UNO, NANO 328, OR ARDUINO MEGA 1280/2560
|
#error CANNOT COMPILE - DCC++ EX ONLY WORKS WITH AN ARDUINO UNO, NANO 328, OR ARDUINO MEGA 1280/2560
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user