This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bug in bsp.h

Hi Nordic,

Where is a bug in bsp.h nRF51 SDK 9.0.0 and I think it was were before as well: LEDS_NUMBER equal 0 causing a compilation error.

In Line 59:

#if (LEDS_NUMBER > 0) && !defined(BSP_SIMPLE)

#define BSP_LED_APP_TIMERS_NUMBER 2

#else

#define BSP_APP_APP_TIMERS_NUMBER 0

#endif // LEDS_NUMBER > 0

For LEDS_NUMBER equal 0 BSP_LED_APP_TIMERS_NUMBER 0 should be defined instead.

Regards, Dmitri.

Related