mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-22 18:57:12 +02:00
combine CMD module status to antenna-symbol
... and for this harmonize hmRadio and hmsRadio is_Chip_Connected()
This commit is contained in:
parent
81a05b3752
commit
99add5c8b2
7 changed files with 30 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue