1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00
Commit graph

4 commits

Author SHA1 Message Date
Dominic Clifton
35f7ce06f3 Rename pwm_rx failsafeCheck variables. 2014-05-08 01:29:21 +01:00
Dominic Clifton
8919acb902 Fix PPM input that was broken in
92bed4a33d
2014-05-06 13:56:58 +01:00
Dominic Clifton
6e00615baf Fix PPM/PWM code. 2014-05-06 13:37:07 +01:00
Dominic Clifton
6721587566 Split PWM code into appropriate separate files - mapping, rx and output.
By decoupling everything the structures now only contain members they need.  The mapping code is simplified.  The calculation of timer periods is now where it belongs (with the output code, not with the mapping code).  Also, since each motor output has it's own callback method it is technically possible to mix brushed and brushless motors if the brushed motors and brushless motors use different timers.  Additional code would be required to fully support that.
2014-05-06 11:08:45 +01:00