Skip to content

Commit 905ae69

Browse files
committed
Disable brake resistor error (isr)
1 parent 1e19b3a commit 905ae69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/FFBoard/Src/voltagesense.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void brakeCheck(){
8585
brake_failure = true;
8686
HAL_GPIO_WritePin(DRV_BRAKE_GPIO_Port,DRV_BRAKE_Pin, GPIO_PIN_RESET);
8787
// can not create error here in ISR
88-
ErrorHandler::addError(resError);
88+
//ErrorHandler::addError(resError);
8989
}else{
9090
HAL_GPIO_WritePin(DRV_BRAKE_GPIO_Port,DRV_BRAKE_Pin, braking_flag ? GPIO_PIN_SET:GPIO_PIN_RESET);
9191
}

0 commit comments

Comments
 (0)