From e84f0cc7cab2879b00085000589b9fd6527d0d68 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Mon, 1 May 2023 07:09:47 -0500 Subject: [PATCH] Add waypoint to device state for display on screen --- meshtastic/deviceonly.proto | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meshtastic/deviceonly.proto b/meshtastic/deviceonly.proto index 0b1e6a4..4528608 100644 --- a/meshtastic/deviceonly.proto +++ b/meshtastic/deviceonly.proto @@ -66,6 +66,12 @@ message DeviceState { */ bool did_gps_reset = 11; + /* + * We keep the last received waypoint stored in the device flash, + * so we can show it on the screen. + * Might be null + */ + MeshPacket rx_waypoint = 12; } /* @@ -152,4 +158,4 @@ message OEMStore { * A Preset LocalModuleConfig to apply during factory reset */ LocalModuleConfig oem_local_module_config = 8; -} +} \ No newline at end of file