combine CMD module status to antenna-symbol

... and for this harmonize hmRadio and hmsRadio is_Chip_Connected()
This commit is contained in:
Wusaweki 2023-12-01 09:09:49 +01:00
parent 81a05b3752
commit 99add5c8b2
7 changed files with 30 additions and 10 deletions

View file

@ -86,7 +86,11 @@ void app::setup() {
// Plugins
#if defined(PLUGIN_DISPLAY)
if (mConfig->plugin.display.type != 0)
mDisplay.setup(this, &mConfig->plugin.display, &mSys, &mNrfRadio, &mTimestamp);
#if defined(ESP32)
mDisplay.setup(this, &mConfig->plugin.display, &mSys, &mNrfRadio, &mCmtRadio, &mTimestamp);
#else
mDisplay.setup(this, &mConfig->plugin.display, &mSys, &mNrfRadio, NULL, &mTimestamp);
#endif
#endif
mPubSerial.setup(mConfig, &mSys, &mTimestamp);