mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Fix DSHOT on G4
This commit is contained in:
parent
4bc7a2c7fa
commit
b701b89a7c
2 changed files with 11 additions and 5 deletions
|
@ -622,8 +622,14 @@ static void bbUpdateComplete(void)
|
|||
bbPort->inputActive = false;
|
||||
bbSwitchToOutput(bbPort);
|
||||
}
|
||||
}
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
#if defined(STM32G4)
|
||||
// Using circular mode resets the counter one short, so explicitly reload
|
||||
bbSwitchToOutput(bbPort);
|
||||
#endif
|
||||
}
|
||||
|
||||
bbDMA_Cmd(bbPort, ENABLE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue