Skip to content

Commit 0f259d3

Browse files
committed
CustomSX1262: fix typo that would prevent compile when TXEN or RXEN is not set
1 parent 4e282a4 commit 0f259d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/helpers/CustomSX1262.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ class CustomSX1262 : public SX1262 {
6767
setRxBoostedGainMode(SX126X_RX_BOOSTED_GAIN);
6868
#endif
6969
#if defined(SX126X_RXEN) || defined(SX126X_TXEN)
70-
#ifndef SX1262X_RXEN
71-
#define SX1262X_RXEN RADIOLIB_NC
70+
#ifndef SX126X_RXEN
71+
#define SX126X_RXEN RADIOLIB_NC
7272
#endif
73-
#ifndef SX1262X_TXEN
74-
#define SX1262X_TXEN RADIOLIB_NC
73+
#ifndef SX126X_TXEN
74+
#define SX126X_TXEN RADIOLIB_NC
7575
#endif
7676
setRfSwitchPins(SX126X_RXEN, SX126X_TXEN);
7777
#endif

0 commit comments

Comments
 (0)