From 524819facebc70ad381f765fedc36003f6994783 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Mon, 18 Sep 2023 18:30:38 -0500 Subject: [PATCH] Adds gps_en_able to indicate GPS enable pin, or 0 for none Adds enable_triple_click to enable the GPS toggle on triple press --- meshtastic/config.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index ae5cc16..7fe84c6 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -134,6 +134,11 @@ message Config { * Clients should then limit available configuration and administrative options inside the user interface */ bool is_managed = 9; + + /* + * Enables the triple-press of user button to enable or disable GPS + */ + bool enable_triple_click = 10; } /* @@ -272,6 +277,11 @@ message Config { * The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled */ uint32 broadcast_smart_minimum_interval_secs = 11; + + /* + * (Re)define PIN_GPS_EN for your board. + */ + uint32 gps_en_gpio = 12; } /*