mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-24 21:21:24 +01:00
type and correct include
This commit is contained in:
parent
3bddeeda3e
commit
8a17965cd2
4
DCC.h
4
DCC.h
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user