[riot-notifications] [RIOT-OS/RIOT] SAUL: Extract name from saul_gpio_params (#11396)

Leandro Lanzieri notifications at github.com
Mon May 27 09:16:14 CEST 2019

leandrolanzieri commented on this pull request.

>          .pin  = BTN0_PIN,
         .mode = BTN0_MODE,
         .flags = SAUL_GPIO_INVERTED,
+ * @brief GPIO information for SAUL registry
+ */
+static const saul_reg_info_t saul_gpio_info[] =
+    { .name = "LED 1" },

If saul_gpio module is being used (needed to define `saul_gpio_params_t`), then the auto init will register the gpios on the registry anyways, so I think it is needed.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190527/74532e3f/attachment-0001.html>

More information about the notifications mailing list