ESP8266 Support

This commit is contained in:
Sven Bursch-Osewold
2016-08-18 19:57:47 +02:00
parent 0c3385b27d
commit d3059d2f4e
2 changed files with 47 additions and 10 deletions

View File

@@ -89,7 +89,12 @@ typedef struct
#define CV_VERSION_ID 7
#define CV_MANUFACTURER_ID 8
#define CV_29_CONFIG 29
#if defined(ESP8266)
#define MAXCV 4096
#else
#define MAXCV E2END // the upper limit of the CV value currently defined to max memory.
#endif
typedef enum {
CV29_LOCO_DIR = 0b00000001, /** bit 0: Locomotive Direction: "0" = normal, "1" = reversed */