mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: chiibos.h: die nicely if HAL_HAVE_PIXRACER_LED is used
This commit is contained in:
parent
e42c9a588e
commit
75f9c4e4fc
@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
#define HAL_BOARD_NAME "ChibiOS"
|
#define HAL_BOARD_NAME "ChibiOS"
|
||||||
|
|
||||||
|
#ifdef HAL_HAVE_PIXRACER_LED
|
||||||
|
#error "use AP_NOTIFY_GPIO_LED_RGB_ENABLED in place of HAL_HAVE_PIXRACER_LED (and rename your pins!)"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAL_MEMORY_TOTAL_KB >= 1000
|
#if HAL_MEMORY_TOTAL_KB >= 1000
|
||||||
#define HAL_MEM_CLASS HAL_MEM_CLASS_1000
|
#define HAL_MEM_CLASS HAL_MEM_CLASS_1000
|
||||||
#elif HAL_MEMORY_TOTAL_KB >= 500
|
#elif HAL_MEMORY_TOTAL_KB >= 500
|
||||||
|
Loading…
Reference in New Issue
Block a user