Fix SX1280 RXEN and TXEN issue
This commit is contained in:
parent
5df60b11d8
commit
d0283ac0b5
@ -363,6 +363,14 @@ int sx128x::begin(unsigned long frequency)
|
|||||||
delay(10);
|
delay(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_rxen != -1) {
|
||||||
|
pinMode(_rxen, OUTPUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_txen != -1) {
|
||||||
|
pinMode(_txen, OUTPUT);
|
||||||
|
}
|
||||||
|
|
||||||
if (_busy != -1) {
|
if (_busy != -1) {
|
||||||
pinMode(_busy, INPUT);
|
pinMode(_busy, INPUT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user