mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Disable output of DSHOT when motors disabled
This commit is contained in:
parent
4355d675b2
commit
ec92be725b
5 changed files with 29 additions and 1 deletions
|
@ -35,7 +35,7 @@ static pwmCompleteWriteFuncPtr pwmCompleteWritePtr = NULL;
|
|||
static pwmOutputPort_t servos[MAX_SUPPORTED_SERVOS];
|
||||
#endif
|
||||
|
||||
static bool pwmMotorsEnabled = true;
|
||||
bool pwmMotorsEnabled = true;
|
||||
|
||||
static void pwmOCConfig(TIM_TypeDef *tim, uint8_t channel, uint16_t value, uint8_t output)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue