diff --git a/documentation/error_codes.md b/documentation/error_codes.md index 6ab3b6b..ff6829a 100644 --- a/documentation/error_codes.md +++ b/documentation/error_codes.md @@ -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); - } \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index f93d7ab..7732b14 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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("==========");