sx1262_wio: hook rxen, specify txen as not connected

This commit is contained in:
Florent
2025-06-02 22:09:37 +02:00
parent 8cf20c7c24
commit 8f5e521717
4 changed files with 13 additions and 1 deletions

View File

@@ -47,7 +47,11 @@ bool radio_init() {
}
radio.setCRC(1);
#if defined(SX126X_RXEN) && defined(SX126X_TXEN)
radio.setRfSwitchPins(SX126X_RXEN, SX126X_TXEN);
#endif
#ifdef SX126X_CURRENT_LIMIT
radio.setCurrentLimit(SX126X_CURRENT_LIMIT);
#endif