Merge pull request #12 from DenisKnauf/master
leds_off only provided, if PLATFORM_HAS_LEDS is 1, not if defined.
This commit is contained in:
commit
9da22fbec4
2 changed files with 2 additions and 2 deletions
|
@ -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