replaced '4096' with definition SPI_FLASH_SEC_SIZE from header file
This commit is contained in:
10
NmraDcc.h
10
NmraDcc.h
@@ -89,12 +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
|
||||
|
||||
#if defined(ESP8266)
|
||||
#define MAXCV SPI_FLASH_SEC_SIZE
|
||||
#else
|
||||
#define MAXCV E2END // the upper limit of the CV value currently defined to max memory.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
CV29_LOCO_DIR = 0b00000001, /** bit 0: Locomotive Direction: "0" = normal, "1" = reversed */
|
||||
|
Reference in New Issue
Block a user