diff --git a/DCC.h b/DCC.h index 283b406..fea9a1a 100644 --- a/DCC.h +++ b/DCC.h @@ -23,7 +23,7 @@ #include "MotorDrivers.h" #include "FSH.h" -#include "config.h" +#include "defines.h" #ifndef HIGHEST_SHORT_ADDR #define HIGHEST_SHORT_ADDR 127 #else @@ -31,7 +31,7 @@ #error short addr greater than 127 does not make sense #endif #endif -#define LONG_ADDR_MARKER 0x4000 +const uint16_t LONG_ADDR_MARKER = 0x4000; typedef void (*ACK_CALLBACK)(int16_t result);