mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +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
|
@ -75,6 +75,8 @@ typedef struct {
|
|||
#endif
|
||||
} motorDmaOutput_t;
|
||||
|
||||
extern bool pwmMotorsEnabled;
|
||||
|
||||
struct timerHardware_s;
|
||||
typedef void(*pwmWriteFuncPtr)(uint8_t index, uint16_t value); // function pointer used to write motors
|
||||
typedef void(*pwmCompleteWriteFuncPtr)(uint8_t motorCount); // function pointer used after motors are written
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue