make textmessageplugin optional

This commit is contained in:
Kevin Hester 2021-03-08 15:30:08 +08:00
parent 707ed75138
commit 7bbd2c0e80

View File

@ -791,6 +791,7 @@ void Screen::setup()
powerStatusObserver.observe(&powerStatus->onNewStatus);
gpsStatusObserver.observe(&gpsStatus->onNewStatus);
nodeStatusObserver.observe(&nodeStatus->onNewStatus);
if(textMessagePlugin)
textMessageObserver.observe(textMessagePlugin);
}