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
|
void
|
||||||
hw_init()
|
hw_init()
|
||||||
{
|
{
|
||||||
#if defined (PLATFORM_HAS_LEDS)
|
#if PLATFORM_HAS_LEDS
|
||||||
leds_off(LEDS_RED);
|
leds_off(LEDS_RED);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ extern resource_t res_radio;
|
||||||
void
|
void
|
||||||
hw_init()
|
hw_init()
|
||||||
{
|
{
|
||||||
#if defined (PLATFORM_HAS_LEDS)
|
#if PLATFORM_HAS_LEDS
|
||||||
leds_arch_init();
|
leds_arch_init();
|
||||||
LEDS_OFF();
|
LEDS_OFF();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue