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:
parent
8f6558156f
commit
5ccb0ecf36
3 changed files with 9 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue