diff --git a/headers/addons/board_led.h b/headers/addons/board_led.h index 07ded3b80f..b3c1bfc5b7 100644 --- a/headers/addons/board_led.h +++ b/headers/addons/board_led.h @@ -20,7 +20,9 @@ // BoardLed Module Name #define OnBoardLedName "OnBoardLed" -#define BOARD_LED_PIN 25 +#ifndef BOARD_LED_PIN +#define BOARD_LED_PIN PICO_DEFAULT_LED_PIN +#endif #define BLINK_INTERVAL_USB_UNMOUNTED 200 #define BLINK_INTERVAL_CONFIG_MODE 1000 @@ -40,4 +42,4 @@ class BoardLedAddon : public GPAddon { uint32_t timeSinceBlink; }; -#endif // _BoardLed_H_ \ No newline at end of file +#endif // _BoardLed_H_