- Charge/discharge control in charger class sets global error flags - Load state machine analyzes error flags to distinguish reasons for switching load off - Temperature errors now identified correctly (issue #59) - Delay before load re-connect after low voltage or overcurrent event now configurable - Unit tests added
17 lines
195 B
C
17 lines
195 B
C
#include <unity.h>
|
|
#include <time.h>
|
|
|
|
void bat_charger_tests();
|
|
|
|
void adc_tests();
|
|
|
|
void power_port_tests();
|
|
|
|
void half_brigde_tests();
|
|
|
|
void dcdc_tests();
|
|
|
|
void log_tests();
|
|
|
|
void load_tests();
|