Browse Source
Merge pull request #452 from fdlamotte/custom_sx1262_TXEN_fix
CustomSX1262: fix typo that would prevent compile when TXEN or RXEN i…
pull/455/head
ripplebiz
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
4 deletions
-
src/helpers/CustomSX1262.h
|
|
|
@ -67,11 +67,11 @@ class CustomSX1262 : public SX1262 { |
|
|
|
setRxBoostedGainMode(SX126X_RX_BOOSTED_GAIN); |
|
|
|
#endif |
|
|
|
#if defined(SX126X_RXEN) || defined(SX126X_TXEN) |
|
|
|
#ifndef SX1262X_RXEN |
|
|
|
#define SX1262X_RXEN RADIOLIB_NC |
|
|
|
#ifndef SX126X_RXEN |
|
|
|
#define SX126X_RXEN RADIOLIB_NC |
|
|
|
#endif |
|
|
|
#ifndef SX1262X_TXEN |
|
|
|
#define SX1262X_TXEN RADIOLIB_NC |
|
|
|
#ifndef SX126X_TXEN |
|
|
|
#define SX126X_TXEN RADIOLIB_NC |
|
|
|
#endif |
|
|
|
setRfSwitchPins(SX126X_RXEN, SX126X_TXEN); |
|
|
|
#endif |
|
|
|
|