fix #624 - update battery level and current time on mynodeinfo

This commit is contained in:
Kevin Hester
2021-01-04 09:59:53 +08:00
parent da8b1d41c7
commit 94a47dba7d
4 changed files with 38 additions and 27 deletions

View File

@@ -79,6 +79,9 @@ class MeshService
/// cache
void sendToMesh(MeshPacket *p);
/// Pull the latest power and time info into my nodeinfo
NodeInfo *refreshMyNodeInfo();
private:
/// Called when our gps position has changed - updates nodedb and sends Location message out into the mesh