Perhaps fix TXCO reports on pro-micro (#6110)

* Perhaps fix TXCO reports on pro-micro

* Missed one
This commit is contained in:
Ben Meadors 2025-02-20 18:30:09 -06:00 committed by GitHub
parent 4942c7b71f
commit 1be28520a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -931,6 +931,7 @@ void setup()
if (!sxIf->init()) {
LOG_WARN("No SX1262 radio");
delete sxIf;
rIf = NULL;
} else {
LOG_INFO("SX1262 init success");
rIf = sxIf;
@ -947,6 +948,7 @@ void setup()
if (!sxIf->init()) {
LOG_WARN("No SX1262 radio with TCXO, Vref %fV", SX126X_DIO3_TCXO_VOLTAGE);
delete sxIf;
rIf = NULL;
} else {
LOG_INFO("SX1262 init success, TCXO, Vref %fV", SX126X_DIO3_TCXO_VOLTAGE);
rIf = sxIf;