Skip to content

Commit ba34cff

Browse files
authored
Merge pull request #452 from fdlamotte/custom_sx1262_TXEN_fix
CustomSX1262: fix typo that would prevent compile when TXEN or RXEN i…
2 parents 4e282a4 + 0f259d3 commit ba34cff

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)