diff --git a/boards/arm/cxd56xx/spresense/src/cxd56_leds.c b/boards/arm/cxd56xx/spresense/src/cxd56_leds.c index 40ad88d6eff..1ae0d2fcb70 100644 --- a/boards/arm/cxd56xx/spresense/src/cxd56_leds.c +++ b/boards/arm/cxd56xx/spresense/src/cxd56_leds.c @@ -40,6 +40,7 @@ * Private Functions ****************************************************************************/ +#ifndef CONFIG_ARCH_LEDS_CPU_ACTIVITY static inline void led_clrbits(unsigned int clrbits) { if ((clrbits & BOARD_LED1_BIT) != 0) @@ -85,6 +86,7 @@ static inline void led_setbits(unsigned int setbits) cxd56_gpio_write(GPIO_LED4, true); } } +#endif /**************************************************************************** * Public Functions