Suggested data type change

This commit is contained in:
amarofarinha 2024-05-29 21:49:21 +01:00 committed by GitHub
parent 6ddfb215fe
commit e1c2b7a6bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
#include "../utils/events.h"
static uint16_t cell_deviation_mV = 0;
static uint16_t charge_discharge_limit_failures = 0;
static uint8_t charge_discharge_limit_failures = 0;
void update_machineryprotection() {
// Start checking that the battery is within reason. Incase we see any funny business, raise an event!