Add waypoint to device state for display on screen

This commit is contained in:
Ben Meadors 2023-05-01 07:09:47 -05:00 committed by Thomas Göttgens
parent ef2bc66bba
commit e84f0cc7ca

View file

@ -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;
}
}