mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-13 09:22:45 -04:00
fix #624 - update battery level and current time on mynodeinfo
This commit is contained in:
1 parent
da8b1d41c7
commit
94a47dba7d
4 files changed
+38
-27
No files matched your search
@@ -134,6 +134,8 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf)
|
||||
fromRadioScratch.which_variant = FromRadio_my_info_tag;
|
||||
fromRadioScratch.variant.my_info = myNodeInfo;
|
||||
state = STATE_SEND_RADIO;
|
||||
|
||||
service.refreshMyNodeInfo(); // Update my NodeInfo because the client will be asking for it soon.
|
||||
break;
|
||||
|
||||
case STATE_SEND_RADIO:
|
||||
|
||||
Reference in new issue
Block a user