|
|
@@ -62,7 +62,9 @@ static void log_no_hall_time(void){
|
|
|
void bms_state_init(void){
|
|
|
set_log_level(MOD_STATE, L_debug);
|
|
|
state_debug("BMS System Starting......\n");
|
|
|
+#if (CONFIG_BOARD_TYPE==SHARK_BOARD_SP700)
|
|
|
cht8305_reset();
|
|
|
+#endif
|
|
|
_bms_state.cell_index_of_max_vol = 0xff;
|
|
|
_bms_state.bms_addr = 0x30;
|
|
|
measure_task_init(_current_notify, _voltage_notify, _temperature_notify);
|