cleanup, some error handling

This commit is contained in:
2024-07-04 20:01:30 +02:00
parent b86d165c41
commit 79f69333a5
4 changed files with 15 additions and 11 deletions

View File

@ -13,7 +13,7 @@ TIM_HandleTypeDef *powerground, *battery_cooling, *esc_cooling;
void PWM_control_init(TIM_HandleTypeDef* pg, TIM_HandleTypeDef* bat_cool, TIM_HandleTypeDef* esc_cool){
powerground_status = 0;
battery_cooling_status = 0;
//battery_cooling_status = 0;
powerground = pg;
battery_cooling = bat_cool;