Fix antenna switch activation on SX1280

This commit is contained in:
jacob.eva 2024-05-05 16:27:28 +01:00
parent a0d9048b7e
commit 94f33feafe
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -116,6 +116,8 @@ sx128x::sx128x() :
bool sx128x::preInit() {
// setup pins
pinMode(_ss, OUTPUT);
pinMode(_rxen, OUTPUT);
pinMode(_txen, OUTPUT);
// set SS high
digitalWrite(_ss, HIGH);