From 23d43efaf119c19e9e7c5a0839560778d5ac20a3 Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Sat, 7 May 2022 19:28:54 +1000 Subject: [PATCH] update property name to modem_preset --- channel.proto | 2 +- config.proto | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/channel.proto b/channel.proto index a457393..94c91de 100644 --- a/channel.proto +++ b/channel.proto @@ -74,7 +74,7 @@ message ChannelSettings { * is the special (minimally secure) "Default"channel. * In user interfaces it should be rendered as a local language translation of "X". * For channel_num hashing empty string will be treated as "X". - * Where "X" is selected based on the English words listed above for ModemConfig + * Where "X" is selected based on the English words listed above for ModemPreset */ string name = 5; diff --git a/config.proto b/config.proto index e577fed..87bfac7 100644 --- a/config.proto +++ b/config.proto @@ -554,7 +554,7 @@ message Config { /* * Standard predefined channel settings - * Note: these mappings must match ModemConfigChoice in the device code. + * Note: these mappings must match ModemPreset Choice in the device code. */ enum ModemPreset { @@ -610,7 +610,7 @@ message Config { * This value is replaced by bandwidth/spread_factor/coding_rate. * If you'd like to experiment with other options add them to MeshRadio.cpp in the device code. */ - ModemPreset modem_config = 2; + ModemPreset modem_preset = 2; /* * Bandwidth in MHz