diff --git a/src/app.cpp b/src/app.cpp index 0d59ab10..cb2e6947 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -105,9 +105,11 @@ void app::setup() { void app::loop(void) { ah::Scheduler::loop(); - mNrfRadio.loop(); + if(mConfig->nrf.enabled) + mNrfRadio.loop(); #if defined(ESP32) - mCmtRadio.loop(); + if(mConfig->cmt.enabled) + mCmtRadio.loop(); #endif mCommunication.loop();