[riot-notifications] [RIOT-OS/RIOT] gnrc_lorawan: add initial support for GNRC based LoRaWAN stack (v2) (#11022)
notifications at github.com
Tue Jun 25 14:42:56 CEST 2019
aabadie commented on this pull request.
* @brief Calculate the number of configured SX127x devices
#define SX127X_NUMOF (sizeof(sx127x_params) / sizeof(sx127x_params_t))
+/* GNRC LoRaWAN only supports one interface so far */
+#define SX127X_NUMOF (1)
I wouldn't not do it this way: just keep the initial define but use an `assert(SX127X_NUMOF == 1)` if `MODULE_GNRC_LORAWAN` is defined, e.g. line 68.
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...
More information about the notifications