changed PurgePulse Vars to uint16_t

This commit is contained in:
Marcel Peterkau 2022-08-21 15:47:22 +02:00
parent 4ce550c668
commit 0e34e7121f
4 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@
#endif
#define SW_VERSION_MAJOR 1
#define SW_VERSION_MINOR 0
#define SW_VERSION_MINOR 1
#ifndef OTA_DELAY
#define OTA_DELAY 50 // ticks -> 10ms / tick

View File

@ -4,7 +4,7 @@ I2C_eeprom ee(0x50, EEPROM_SIZE_BYTES);
LubeConfig_t LubeConfig;
persistenceData_t PersistenceData;
const uint16_t eeVersion = 1; // inc
const uint16_t eeVersion = 2; // inc
boolean eeAvailable = false;
const uint16_t startofLubeConfig = 16;

View File

@ -83,7 +83,7 @@ typedef struct
uint32_t TireWidthHeight_Ratio = 70;
uint32_t RimDiameter_Inch = 18;
uint32_t DistancePerRevolution_mm = 2000;
uint8_t BleedingPulses = 25;
uint16_t BleedingPulses = 25;
SpeedSource_t SpeedSource = SOURCE_IMPULSE;
#ifdef FEATURE_ENABLE_GPS
GPSBaudRate_t GPSBaudRate = BAUD_115200;

View File

@ -28,7 +28,7 @@ typedef struct Globals_s
tSystem_Status systemStatus = sysStat_Startup;
tSystem_Status resumeStatus = sysStat_Startup;
char systemStatustxt[16] = "";
uint8_t purgePulses = 0;
uint16_t purgePulses = 0;
eEERequest requestEEAction = EE_IDLE;
char DeviceName[33];
uint32_t FlashVersion;