From 7411455e17e2e32f0419088c6e9d9244ccac10cd Mon Sep 17 00:00:00 2001 From: andrekir Date: Mon, 9 Sep 2024 19:13:13 -0300 Subject: [PATCH] feat: send AdminMessage `set_time_only` on ConfigComplete --- app/src/main/java/com/geeksville/mesh/service/MeshService.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/geeksville/mesh/service/MeshService.kt b/app/src/main/java/com/geeksville/mesh/service/MeshService.kt index cca2afa3..8bc57b10 100644 --- a/app/src/main/java/com/geeksville/mesh/service/MeshService.kt +++ b/app/src/main/java/com/geeksville/mesh/service/MeshService.kt @@ -1533,6 +1533,9 @@ class MeshService : Service(), Logging { radioConfigRepository.installNodeDB(myNodeInfo!!, nodeDBbyID.values.toList()) } + sendToRadio(newMeshPacketTo(myNodeNum).buildAdminPacket { + setTimeOnly = currentSecond() + }) sendAnalytics() if (deviceVersion < minDeviceVersion || appVersion < minAppVersion) {