mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Limit STM32F411 to use 32 leds only. (#13249)
* Add USE_LIMITED_LED_STRIP_OUTPUTS to limit certain MCUs to use maximum 32 outputs * Fixes per review from Steve * Use target.h gate
This commit is contained in:
parent
37d27ad3e3
commit
47f3c31f54
1 changed files with 4 additions and 0 deletions
|
@ -80,4 +80,8 @@
|
|||
|
||||
#define USE_PID_DENOM_CHECK
|
||||
|
||||
#ifdef USE_LED_STRIP_64
|
||||
#error USE_LED_STRIP_64 is not supported for this MCU, please use USE_LED_STRIP_32
|
||||
#endif
|
||||
|
||||
#define FLASH_PAGE_SIZE ((uint32_t)0x4000) // 16K sectors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue