mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-07-02 14:34:13 +02:00
Fix TXEN / RXEN pin init for SX1280
This commit is contained in:
parent
29e8406437
commit
c2e7c7070b
@ -361,6 +361,14 @@ int sx128x::begin(unsigned long frequency)
|
||||
delay(10);
|
||||
}
|
||||
|
||||
if (_rxen != -1) {
|
||||
pinMode(_rxen, OUTPUT);
|
||||
}
|
||||
|
||||
if (_txen != -1) {
|
||||
pinMode(_txen, OUTPUT);
|
||||
}
|
||||
|
||||
if (_busy != -1) {
|
||||
pinMode(_busy, INPUT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user