mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-16 15:52:34 +00:00
Initial Checkin for WiFi and HTTP Server Framework
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "mesh-pb-constants.h"
|
||||
#include <pb_decode.h>
|
||||
#include <pb_encode.h>
|
||||
#include "meshwifi/meshwifi.h"
|
||||
|
||||
NodeDB nodeDB;
|
||||
|
||||
@@ -399,6 +400,11 @@ void NodeDB::updateFrom(const MeshPacket &mp)
|
||||
updateTextMessage = true;
|
||||
powerFSM.trigger(EVENT_RECEIVED_TEXT_MSG);
|
||||
notifyObservers(true); // Force an update whether or not our node counts have changed
|
||||
|
||||
// Only update the WebUI if WiFi is enabled
|
||||
#if WiFi_MODE != 0
|
||||
notifyWebUI();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user