[riot-notifications] [RIOT-OS/RIOT] drivers/sx126x: Add support for Nucleo -WL55JC (#16579)

José Alamos notifications at github.com
Thu Jul 1 10:21:46 CEST 2021


@jia200x commented on this pull request.



> +{
+    assert(dev && (dev->mod_params.bw <= SX126X_LORA_BW_500) && \
+           (dev->mod_params.bw >= SX126X_LORA_BW_125));
+
+    /* Refer section 4.1.1.7  Time on air in SX1276/77/78/79 datasheet */
+    return (symbols * (1 << (dev->mod_params.sf + 7 - dev->mod_params.bw)) / 1000);
+}
+
+/**
+ * @brief   Check if onboard SUBGHZ Radio is being used
+ *
+ * @param[in] dev                      Device descriptor of the driver
+ *
+ * @return True, if onboard SUBGHZ Radio is being used
+ */
+static inline bool IS_SUBGHZ(sx126x_t *dev)

I thought this was already renamed to `sx126x_is_stm32wl`, as discussed offline

-- 
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/16579#pullrequestreview-696959097
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210701/ce6096cb/attachment.htm>


More information about the notifications mailing list