AP_HAL: chiibos.h: die nicely if HAL_HAVE_PIXRACER_LED is used

This commit is contained in:
Peter Barker 2024-07-11 10:25:05 +10:00 committed by Peter Barker
parent e42c9a588e
commit 75f9c4e4fc

View File

@ -4,6 +4,10 @@
#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
#define HAL_MEM_CLASS HAL_MEM_CLASS_1000
#elif HAL_MEMORY_TOTAL_KB >= 500