mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-13 16:55:08 +00:00
make TXEN/RXEN immediately low once changed to be outputs
This commit is contained in:
parent
cb1053850d
commit
047141eb34
@ -15,9 +15,11 @@ bool SX1262Interface::init()
|
|||||||
RadioLibInterface::init();
|
RadioLibInterface::init();
|
||||||
|
|
||||||
#ifdef SX1262_RXEN // set not rx or tx mode
|
#ifdef SX1262_RXEN // set not rx or tx mode
|
||||||
|
digitalWrite(SX1262_RXEN, LOW); // Set low before becoming an output
|
||||||
pinMode(SX1262_RXEN, OUTPUT);
|
pinMode(SX1262_RXEN, OUTPUT);
|
||||||
#endif
|
#endif
|
||||||
#ifdef SX1262_TXEN
|
#ifdef SX1262_TXEN
|
||||||
|
digitalWrite(SX1262_TXEN, LOW);
|
||||||
pinMode(SX1262_TXEN, OUTPUT);
|
pinMode(SX1262_TXEN, OUTPUT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user