leds_off only provided, if PLATFORM_HAS_LEDS is 1, not if defined.
This commit is contained in:
parent
3d255ed6f8
commit
ca431d2e46
|
@ -98,7 +98,7 @@ extern resource_t res_sht11;
|
|||
void
|
||||
hw_init()
|
||||
{
|
||||
#if defined (PLATFORM_HAS_LEDS)
|
||||
#if PLATFORM_HAS_LEDS
|
||||
leds_off(LEDS_RED);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ extern resource_t res_radio;
|
|||
void
|
||||
hw_init()
|
||||
{
|
||||
#if defined (PLATFORM_HAS_LEDS)
|
||||
#if PLATFORM_HAS_LEDS
|
||||
leds_arch_init();
|
||||
LEDS_OFF();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue