From f1e495cbba4ef235a23446709b9df292636937d6 Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Wed, 11 May 2022 18:29:36 +1000 Subject: [PATCH] Add ntp servew field --- config.options | 4 +++- config.proto | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config.options b/config.options index f094822..2ec4332 100644 --- a/config.options +++ b/config.options @@ -2,4 +2,6 @@ *WiFiConfig.psk max_size:64 # Max of three ignored nodes for our testing -*LoRaConfig.ignore_incoming max_count:3 \ No newline at end of file +*LoRaConfig.ignore_incoming max_count:3 + +*DeviceConfig.ntp_server max_size:33 \ No newline at end of file diff --git a/config.proto b/config.proto index 87bfac7..7653963 100644 --- a/config.proto +++ b/config.proto @@ -73,6 +73,11 @@ message Config { */ bool debug_log_enabled = 4; + /* + * NTP server to use if WiFi is conneced, defaults to `0.pool.ntp.org` + */ + string ntp_server = 5; + } /*