From 8a17965cd2195b659c50c2d5c51bd7970be71dcf Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Thu, 25 Nov 2021 19:55:48 +0100 Subject: [PATCH] type and correct include --- DCC.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);