[riot-notifications] [RIOT-OS/RIOT] boards/lobaro-lorabox: Remove auto init LED0 (#11060)

Leandro Lanzieri notifications at github.com
Mon Feb 25 17:18:20 CET 2019


leandrolanzieri commented on this pull request.



> @@ -31,13 +31,11 @@ extern "C" {
  */
 static const  saul_gpio_params_t saul_gpio_params[] =
 {
-#ifdef AUTO_INIT_LED0

Yes, the pin was initialized regardless of `AUTO_INIT_LED0`, it would only not show up on SAUL when not defined. As the pin is only used for the LED and is not used for other purposes it would make sense to initialize it by default without having to define it (as I understand it other boards do so because they share the pin with other peripherals).

-- 
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/11060#discussion_r259902029
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190225/171cf8e5/attachment.html>


More information about the notifications mailing list