diff --git a/sx128x.cpp b/sx128x.cpp index 0a6e0e3..b4fc20c 100644 --- a/sx128x.cpp +++ b/sx128x.cpp @@ -363,6 +363,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); }