main.c : since the new chip is active low, toggled B10 timercontrol output pin in system_bjt_output
This commit is contained in:
parent
aeadab7d5c
commit
20ed200486
1 changed files with 2 additions and 2 deletions
|
@ -582,9 +582,9 @@ void Paint_Selector(bool heartbeat,uint8_t pos, uint8_t runningmode){
|
|||
|
||||
void System_bjt_output(bool on){
|
||||
if(on){
|
||||
HAL_GPIO_WritePin(GPIOB,GPIO_PIN_10,GPIO_PIN_SET);
|
||||
}else{
|
||||
HAL_GPIO_WritePin(GPIOB,GPIO_PIN_10,GPIO_PIN_RESET);
|
||||
}else{
|
||||
HAL_GPIO_WritePin(GPIOB,GPIO_PIN_10,GPIO_PIN_SET);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue