1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-24 13:21:23 +01:00

type and correct include

This commit is contained in:
Harald Barth 2021-11-25 19:55:48 +01:00
parent 3bddeeda3e
commit 8a17965cd2

4
DCC.h
View File

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