mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Fixed timer output needing to be properly enabled (when using PPM pins etc).
This commit is contained in:
parent
b4c777e2a0
commit
01f942554c
5 changed files with 15 additions and 20 deletions
|
@ -119,7 +119,7 @@ static void escSerialICConfig(TIM_TypeDef *tim, uint8_t channel, uint16_t polari
|
|||
|
||||
void setTxSignalEsc(escSerial_t *escSerial, uint8_t state)
|
||||
{
|
||||
if((escSerial->mode == PROTOCOL_KISSALL))
|
||||
if(escSerial->mode == PROTOCOL_KISSALL)
|
||||
{
|
||||
for (volatile uint8_t i = 0; i < escSerial->outputCount; i++) {
|
||||
uint8_t state_temp = state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue