1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00

Fix PPM support when using 8 channels on STM32F10x.

This was broken when 12 channel support was added in combination with
the STM32F3 support.
This commit is contained in:
Dominic Clifton 2014-05-26 13:28:36 +01:00
parent 8f6558156f
commit 5ccb0ecf36
3 changed files with 9 additions and 7 deletions

View file

@ -10,7 +10,7 @@
typedef uint32_t captureCompare_t;
#endif
#ifdef STM32F10X_MD
typedef uint32_t captureCompare_t;
typedef uint16_t captureCompare_t;
#endif
typedef void timerCCCallbackPtr(uint8_t port, captureCompare_t capture);