Skip to content

Commit

Permalink
AP_HAL: chiibos.h: die nicely if HAL_HAVE_PIXRACER_LED is used
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jul 11, 2024
1 parent d1b2bde commit 91cb8a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_HAL/board/chibios.h
Original file line number Diff line number Diff line change
Expand Up @@ -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!)"
#endir

#if HAL_MEMORY_TOTAL_KB >= 1000
#define HAL_MEM_CLASS HAL_MEM_CLASS_1000
#elif HAL_MEMORY_TOTAL_KB >= 500
Expand Down

0 comments on commit 91cb8a9

Please sign in to comment.