1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00
Commit graph

7 commits

Author SHA1 Message Date
Bruce Luckcuck
c6c9ba7229 Fix blocking DSHOT commands
Motor and DSHOT refactoring broke blocking DSHOT commands as the check for commands being enabled was not taking into account that "blocking" type commands need to operate only when the motors are not enabled.

Fixes the CLI `dshotprog` command.
2020-04-17 08:29:24 -04:00
jflyper
ff16686893 White space tidy 2020-02-17 23:54:57 +13:00
Bruce Luckcuck
5a9ce05ec0 Prevent DSHOT commands during protocol initialization/detection
Adds a fixed delay after the motors are enabled before DSHOT commands can be sent. Fixes a problem caused by sending DSHOT commands too soon and prevent the ESC from properly detecting the protocol.
2019-09-21 18:26:05 -04:00
warhog
7b9114d0d8 removed UNUSED macro for motorCount as motorCount is used in line 213 since commit ccf7ce964a 2019-09-15 21:11:10 +02:00
Thorsten Laux
ccf7ce964a use driver independent motor count 2019-09-06 16:43:57 +02:00
jflyper
bb8e0686c1 Rename overlooked Dshot command function name 2019-08-13 16:27:34 +09:00
jflyper
542146c702 Motor code refactor (Phase 1) 2019-07-17 01:33:39 +09:00