Fix antenna switch activation on SX1280
This commit is contained in:
parent
a0d9048b7e
commit
94f33feafe
@ -116,6 +116,8 @@ sx128x::sx128x() :
|
|||||||
bool sx128x::preInit() {
|
bool sx128x::preInit() {
|
||||||
// setup pins
|
// setup pins
|
||||||
pinMode(_ss, OUTPUT);
|
pinMode(_ss, OUTPUT);
|
||||||
|
pinMode(_rxen, OUTPUT);
|
||||||
|
pinMode(_txen, OUTPUT);
|
||||||
// set SS high
|
// set SS high
|
||||||
digitalWrite(_ss, HIGH);
|
digitalWrite(_ss, HIGH);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user