|
|
@@ -12,6 +12,7 @@
|
|
|
#include "soc.h"
|
|
|
#include "state.h"
|
|
|
#include "iostate.h"
|
|
|
+#include "event_record.h"
|
|
|
|
|
|
#define ALLOW_DEEP_SLEEP 1
|
|
|
#define SLEEP_IGNORE_UNHEALTH 0
|
|
|
@@ -75,6 +76,10 @@ void bms_state_init(void){
|
|
|
uart_frame_time = shark_get_mseconds();
|
|
|
|
|
|
set_log_all(L_disable);
|
|
|
+
|
|
|
+ push_event(Cell_Over_Vol, 3750);
|
|
|
+ push_event(Cell_Under_Vol, 2200);
|
|
|
+ push_event(Current_Short, 0);
|
|
|
}
|
|
|
|
|
|
bms_state_t *bms_state_get(void){
|