Implement CPPM reception. Keep it as an option for now.

Recalibrate the radio, as the timings have changed.
And, it seems a couple of channels are now swapped with the new radio. Or
rather, unswapped. So fix the channel map to match.
This commit is contained in:
2013-04-07 01:39:36 +00:00
parent 2fa58944fa
commit b9c08d88b1
4 changed files with 52 additions and 18 deletions

View File

@@ -8,6 +8,7 @@ CSRCS+=fisqrt.c stick.c trig.c motor.c led.c watchdog.c panic.c status.c
CSRCS+=thrust.c
#PROJOPTS=-DUSE_UART -DSEND_DCM -DSTICK_DEBUG_CALIBRATE
PROJOPTS=-DTIMER_CPPM
COPTIM?=-O1
CFLAGS=-march=armv4t -msoft-float $(COPTIM) -Wall -Werror -Wextra $(PROJOPTS)