This commit is contained in:
hamza
2024-07-10 09:37:19 +03:00
parent a86985bfc9
commit 5b26f8d12b
14 changed files with 106 additions and 122 deletions

View File

@ -56,12 +56,12 @@ extern StateHandle state;
extern int32_t RELAY_BAT_SIDE_VOLTAGE;
extern int32_t RELAY_ESC_SIDE_VOLTAGE;
extern int32_t CURRENT_MEASUREMENT;
extern uint8_t powerground_status;
void sm_init();
void sm_update();
void sm_handle_ams_in(const uint8 *data);
void sm_precharge_discharge_manager();
void sm_powerground_manager();
void sm_calibrate_powerground();
void sm_balancing();