[riot-notifications] [RIOT-OS/RIOT] sx126x: add support for multiple simultaneous variants (#16597)

José Alamos notifications at github.com
Wed Jun 30 14:52:49 CEST 2021


@jia200x commented on this pull request.



> @@ -42,6 +63,7 @@ typedef struct {
     gpio_t busy_pin;                    /**< Busy pin */
     gpio_t dio1_pin;                    /**< Dio1 pin */
     sx126x_reg_mod_t regulator;         /**< Power regulator mode */
+    sx126x_type_t type;                 /**< Variant of sx126x */

Note: This extra member doesn't add ROM because of the structure alignment. Therefore I just opted to leave it as it is.

-- 
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/16597#pullrequestreview-696119943
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210630/97c1d0b2/attachment.htm>


More information about the notifications mailing list