Skip to content

Commit eb21c8f

Browse files
committed
fixup! drivers/sx126x: add support for Dio2 and Dio3
1 parent 5c3dfe3 commit eb21c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/sx126x/include/sx126x_params.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extern "C" {
106106
* @brief Interrupt mask of events that should trigger an interrupt on DIO2
107107
* if mode is SX126X_DIO2_IRQ
108108
*/
109-
# define SX126X_PARAM_DIO2_IRQ_MASK SX126X_IRQ_MASK_ALL
109+
# define SX126X_PARAM_DIO2_IRQ_MASK 0
110110
#endif
111111

112112
#if !defined(SX126X_PARAM_DIO2_ARG) || defined(DOXYGEN)
@@ -137,7 +137,7 @@ extern "C" {
137137
* @brief Interrupt mask of events that should trigger an interrupt on DIO3
138138
* if mode is SX126X_DIO3_IRQ
139139
*/
140-
# define SX126X_PARAM_DIO3_IRQ_MASK SX126X_IRQ_MASK_ALL
140+
# define SX126X_PARAM_DIO3_IRQ_MASK 0
141141
#endif
142142

143143
#if !defined(SX126X_PARAM_DIO3_ARG) || defined(DOXYGEN)

0 commit comments

Comments
 (0)