Updated FW-Version

This commit is contained in:
Marcel Peterkau 2023-02-28 10:12:18 +01:00
parent 5460a70f6d
commit 367a41527d
2 changed files with 6 additions and 2 deletions

View File

@ -26,8 +26,8 @@
#define HOST_NAME "ChainLube_%06X" // Use printf-Formatting - Chip-ID (uin32_t) will be added #define HOST_NAME "ChainLube_%06X" // Use printf-Formatting - Chip-ID (uin32_t) will be added
#endif #endif
#define SW_VERSION 1.3 #define SW_VERSION 1.4
#define FLASH_FS_VERSION 1.3 #define FLASH_FS_VERSION 1.4
#ifndef OTA_DELAY #ifndef OTA_DELAY
#define OTA_DELAY 50 // ticks -> 10ms / tick #define OTA_DELAY 50 // ticks -> 10ms / tick

View File

@ -8,7 +8,11 @@
#include "dtc.h" #include "dtc.h"
#include "common.h" #include "common.h"
#if PCB_REV == 1 || PCB_REV == 2 || PCB_REV == 3
#define EEPROM_SIZE_BYTES I2C_DEVICESIZE_24LC64
#elif PCB_REV == 4
#define EEPROM_SIZE_BYTES I2C_DEVICESIZE_24LC256 #define EEPROM_SIZE_BYTES I2C_DEVICESIZE_24LC256
#endif
typedef enum SpeedSource_e typedef enum SpeedSource_e
{ {