Cosmetics: rename remaining plugins → modules and less errors (#3645)

This commit is contained in:
GUVWAF
2024-04-17 00:47:56 +02:00
committed by GitHub
parent 55c9c3b298
commit c34956e9d8
6 changed files with 14 additions and 13 deletions

View File

@@ -280,7 +280,7 @@ template <typename T> bool SX128xInterface<T>::isChannelActive()
result = lora.scanChannel();
if (result == RADIOLIB_LORA_DETECTED)
return true;
if (result != RADIOLIB_ERR_WRONG_MODEM)
if (result != RADIOLIB_CHANNEL_FREE)
LOG_ERROR("Radiolib error %d when attempting SX128X scanChannel!\n", result);
assert(result != RADIOLIB_ERR_WRONG_MODEM);