add shit
All checks were successful
Test compiling project / test (push) Successful in 1m55s

This commit is contained in:
2023-10-07 16:25:30 +02:00
parent 655f746fcc
commit f55ffea36c
2 changed files with 2 additions and 11 deletions

View File

@@ -4,12 +4,3 @@
3. Current low
4. Current high
else if (voltage_low) {
display_error_code(1);
} else if (voltage_high){
display_error_code(2);
} else if (current_low) {
display_error_code(3);
} else if (current_high){
display_error_code(4);
}

View File

@@ -359,8 +359,8 @@ void update_sensor_data(){
int percentage = round(( shunt_current_over_zero / max_water_level_mA_over_zero) * 100);
current_low = shunt_current < 3.5;
current_high = shunt_current > 20.5;
current_low = shunt_current < 3.8;
current_high = shunt_current > 20.2;
voltage_low = bus_voltage < 23;
voltage_high = bus_voltage > 25;
Log.verbose("==========");