start to sort radiolib out. If we have macros, use them! :-)

Also we need Godmode for the SX1280 for now, hopefully can revert to more sane operation.
This commit is contained in:
Thomas Göttgens
2022-11-14 09:49:50 +01:00
parent 6e856efd0e
commit 50a301899e
4 changed files with 13 additions and 6 deletions

View File

@@ -129,6 +129,7 @@ bool RF95Interface::reconfigure()
if (power > MAX_POWER) // This chip has lower power limits than some
power = MAX_POWER;
err = lora->setOutputPower(power);
if (err != RADIOLIB_ERR_NONE)
RECORD_CRITICALERROR(CriticalErrorCode_INVALID_RADIO_SETTING);