mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-22 18:57:12 +02:00
refactor display class
Display class gets access to App interface and HmRadio Display class prepares relevant online information for displays in new DisplayData structure Displays get pointer to DisplayData and only use information received from there
This commit is contained in:
parent
e8fa9c747e
commit
f1bff0b824
13 changed files with 207 additions and 197 deletions
|
@ -115,7 +115,7 @@ void app::setup() {
|
|||
|
||||
// Plugins
|
||||
if (mConfig->plugin.display.type != 0)
|
||||
mDisplay.setup(&mConfig->plugin.display, &mSys, &mTimestamp, mVersion);
|
||||
mDisplay.setup(this, &mConfig->plugin.display, &mSys, &mNrfRadio, &mTimestamp);
|
||||
|
||||
mPubSerial.setup(mConfig, &mSys, &mTimestamp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue