1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00
Commit graph

11 commits

Author SHA1 Message Date
Dominic Clifton
d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00
Dominic Clifton
5ccb0ecf36 Fix PPM support when using 8 channels on STM32F10x.
This was broken when 12 channel support was added in combination with
the STM32F3 support.
2014-05-26 13:31:19 +01:00
Dominic Clifton
d1be2ed5e2 Add special failsafe handling for PPM whilst still keeping failsafe code
out of the PWM RX driver.
2014-05-22 21:22:31 +01:00
Dominic Clifton
21207ca940 Improvement: Add support for upto 18 channels. Allow RSSI to be read
from any channel, not just AUX1-4.

See documentation changes in this commit.
2014-05-14 19:23:27 +01:00
Dominic Clifton
89d2c3152f Code formatting and style fixes. 2014-05-13 16:02:18 +01:00
kh4
ab2273f93e Enable input filtering on input capture timers.
Conflicts:

	src/drv_pwm.c
2014-05-11 17:11:04 +01:00
Dominic Clifton
6704ba40b5 Decouple failsafe from RX drivers.
This removes a number of FIXMEs regarding driver dependencies on the
main code.

The code to verify pulse lengths is now in computeRC which means that
all RX drivers do not have to duplicate the pulse length checking code.

This means that failsafe can be used to validate serial RX providers as
well as PWM/PPM RX providers.
2014-05-08 13:28:14 +01:00
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