[riot-notifications] [RIOT-OS/RIOT] cpu/efm32: move LOW_POWER_ENABLED to efm32-features.mk (#12322)

benpicco notifications at github.com
Sun Sep 29 19:15:34 CEST 2019


Murdock is complaining that `_is_usart()` is now unused in `tests/cpu_efm32_features`.

Guard that function with the same `#if EFM32_LEUART_ENABLED && defined(LEUART_COUNT) && LEUART_COUNT > 0` and you should be good to go.

Actually, this is pretty long, so better use something like

```C
#if EFM32_LEUART_ENABLED && defined(LEUART_COUNT) && LEUART_COUNT > 0
#define USE_LEUART
#endif
…
#ifdef USE_LEUART
…
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12322#issuecomment-536321893
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190929/f7fe2bce/attachment.htm>


More information about the notifications mailing list