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
|
||||
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