mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge pull request #452 from fdlamotte/custom_sx1262_TXEN_fix
CustomSX1262: fix typo that would prevent compile when TXEN or RXEN i…
This commit is contained in:
commit
ba34cff4d4
1 changed files with 4 additions and 4 deletions
|
|
@ -67,11 +67,11 @@ class CustomSX1262 : public SX1262 {
|
||||||
setRxBoostedGainMode(SX126X_RX_BOOSTED_GAIN);
|
setRxBoostedGainMode(SX126X_RX_BOOSTED_GAIN);
|
||||||
#endif
|
#endif
|
||||||
#if defined(SX126X_RXEN) || defined(SX126X_TXEN)
|
#if defined(SX126X_RXEN) || defined(SX126X_TXEN)
|
||||||
#ifndef SX1262X_RXEN
|
#ifndef SX126X_RXEN
|
||||||
#define SX1262X_RXEN RADIOLIB_NC
|
#define SX126X_RXEN RADIOLIB_NC
|
||||||
#endif
|
#endif
|
||||||
#ifndef SX1262X_TXEN
|
#ifndef SX126X_TXEN
|
||||||
#define SX1262X_TXEN RADIOLIB_NC
|
#define SX126X_TXEN RADIOLIB_NC
|
||||||
#endif
|
#endif
|
||||||
setRfSwitchPins(SX126X_RXEN, SX126X_TXEN);
|
setRfSwitchPins(SX126X_RXEN, SX126X_TXEN);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue