changed PurgePulse Vars to uint16_t
This commit is contained in:
		| @@ -27,7 +27,7 @@ | |||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #define SW_VERSION_MAJOR 1 | #define SW_VERSION_MAJOR 1 | ||||||
| #define SW_VERSION_MINOR 0 | #define SW_VERSION_MINOR 1 | ||||||
|  |  | ||||||
| #ifndef OTA_DELAY | #ifndef OTA_DELAY | ||||||
| #define OTA_DELAY 50 // ticks -> 10ms / tick | #define OTA_DELAY 50 // ticks -> 10ms / tick | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ I2C_eeprom ee(0x50, EEPROM_SIZE_BYTES); | |||||||
|  |  | ||||||
| LubeConfig_t LubeConfig; | LubeConfig_t LubeConfig; | ||||||
| persistenceData_t PersistenceData; | persistenceData_t PersistenceData; | ||||||
| const uint16_t eeVersion = 1; // inc | const uint16_t eeVersion = 2; // inc | ||||||
| boolean eeAvailable = false; | boolean eeAvailable = false; | ||||||
|  |  | ||||||
| const uint16_t startofLubeConfig = 16; | const uint16_t startofLubeConfig = 16; | ||||||
|   | |||||||
| @@ -83,7 +83,7 @@ typedef struct | |||||||
|   uint32_t TireWidthHeight_Ratio = 70; |   uint32_t TireWidthHeight_Ratio = 70; | ||||||
|   uint32_t RimDiameter_Inch = 18; |   uint32_t RimDiameter_Inch = 18; | ||||||
|   uint32_t DistancePerRevolution_mm = 2000; |   uint32_t DistancePerRevolution_mm = 2000; | ||||||
|   uint8_t BleedingPulses = 25; |   uint16_t BleedingPulses = 25; | ||||||
|   SpeedSource_t SpeedSource = SOURCE_IMPULSE; |   SpeedSource_t SpeedSource = SOURCE_IMPULSE; | ||||||
| #ifdef FEATURE_ENABLE_GPS | #ifdef FEATURE_ENABLE_GPS | ||||||
|   GPSBaudRate_t GPSBaudRate = BAUD_115200; |   GPSBaudRate_t GPSBaudRate = BAUD_115200; | ||||||
|   | |||||||
| @@ -28,7 +28,7 @@ typedef struct Globals_s | |||||||
|   tSystem_Status systemStatus = sysStat_Startup; |   tSystem_Status systemStatus = sysStat_Startup; | ||||||
|   tSystem_Status resumeStatus = sysStat_Startup; |   tSystem_Status resumeStatus = sysStat_Startup; | ||||||
|   char systemStatustxt[16] = ""; |   char systemStatustxt[16] = ""; | ||||||
|   uint8_t purgePulses = 0; |   uint16_t purgePulses = 0; | ||||||
|   eEERequest requestEEAction = EE_IDLE; |   eEERequest requestEEAction = EE_IDLE; | ||||||
|   char DeviceName[33]; |   char DeviceName[33]; | ||||||
|   uint32_t FlashVersion; |   uint32_t FlashVersion; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user