File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1796,7 +1796,9 @@ void Screen::setup()
17961796 powerStatusObserver.observe (&powerStatus->onNewStatus );
17971797 gpsStatusObserver.observe (&gpsStatus->onNewStatus );
17981798 nodeStatusObserver.observe (&nodeStatus->onNewStatus );
1799+ #if !MESHTASTIC_EXCLUDE_ADMIN
17991800 adminMessageObserver.observe (adminModule);
1801+ #endif
18001802 if (textMessageModule)
18011803 textMessageObserver.observe (textMessageModule);
18021804 if (inputBroker)
@@ -2857,4 +2859,4 @@ int Screen::handleAdminMessage(const meshtastic_AdminMessage *arg)
28572859} // namespace graphics
28582860#else
28592861graphics::Screen::Screen (ScanI2C::DeviceAddress, meshtastic_Config_DisplayConfig_OledType, OLEDDISPLAY_GEOMETRY) {}
2860- #endif // HAS_SCREEN
2862+ #endif // HAS_SCREEN
You can’t perform that action at this time.
0 commit comments