Load protection improvements

- Switched back to older mbed version, as update broke comparator function
- Added voltage dip detection to disconnect load if charge controller is connected to small
  battery or with bad wires and short circuit detection doesn't trigger
- Added more error flags to diagnose reasons for load disconnect
This commit is contained in:
Martin Jaeger
2019-10-30 17:31:16 +01:00
parent 975c03affd
commit 5b4df98656
6 changed files with 97 additions and 31 deletions
+5
View File
@@ -264,4 +264,9 @@ void leds_update_soc(int soc, bool load_off_low_soc)
#endif
}
#else
// dummy functions
void leds_flicker(int led, int timeout) {}
#endif /* UNIT_TEST */