mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-26 22:33:24 +00:00
Perhaps fix TXCO reports on pro-micro (#6110)
* Perhaps fix TXCO reports on pro-micro * Missed one
This commit is contained in:
parent
4942c7b71f
commit
1be28520a7
@ -931,6 +931,7 @@ void setup()
|
|||||||
if (!sxIf->init()) {
|
if (!sxIf->init()) {
|
||||||
LOG_WARN("No SX1262 radio");
|
LOG_WARN("No SX1262 radio");
|
||||||
delete sxIf;
|
delete sxIf;
|
||||||
|
rIf = NULL;
|
||||||
} else {
|
} else {
|
||||||
LOG_INFO("SX1262 init success");
|
LOG_INFO("SX1262 init success");
|
||||||
rIf = sxIf;
|
rIf = sxIf;
|
||||||
@ -947,6 +948,7 @@ void setup()
|
|||||||
if (!sxIf->init()) {
|
if (!sxIf->init()) {
|
||||||
LOG_WARN("No SX1262 radio with TCXO, Vref %fV", SX126X_DIO3_TCXO_VOLTAGE);
|
LOG_WARN("No SX1262 radio with TCXO, Vref %fV", SX126X_DIO3_TCXO_VOLTAGE);
|
||||||
delete sxIf;
|
delete sxIf;
|
||||||
|
rIf = NULL;
|
||||||
} else {
|
} else {
|
||||||
LOG_INFO("SX1262 init success, TCXO, Vref %fV", SX126X_DIO3_TCXO_VOLTAGE);
|
LOG_INFO("SX1262 init success, TCXO, Vref %fV", SX126X_DIO3_TCXO_VOLTAGE);
|
||||||
rIf = sxIf;
|
rIf = sxIf;
|
||||||
|
Loading…
Reference in New Issue
Block a user