oops - we were previously not marking these protobuf structs as valid

1.2-legacy
geeksville 2020-03-30 17:02:41 -07:00
rodzic feb6f2e59e
commit 1da62e5ba1
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -61,6 +61,8 @@ void NodeDB::resetRadioConfig()
radioConfig.preferences.sds_secs = 365 * 24 * 60 * 60; // one year radioConfig.preferences.sds_secs = 365 * 24 * 60 * 60; // one year
radioConfig.preferences.ls_secs = 60 * 60; radioConfig.preferences.ls_secs = 60 * 60;
radioConfig.preferences.phone_timeout_secs = 15 * 60; radioConfig.preferences.phone_timeout_secs = 15 * 60;
radioConfig.has_channel_settings = true;
radioConfig.has_preferences = true;
// radioConfig.modem_config = RadioConfig_ModemConfig_Bw125Cr45Sf128; // medium range and fast // radioConfig.modem_config = RadioConfig_ModemConfig_Bw125Cr45Sf128; // medium range and fast
// channelSettings.modem_config = ChannelSettings_ModemConfig_Bw500Cr45Sf128; // short range and fast, but wide bandwidth // channelSettings.modem_config = ChannelSettings_ModemConfig_Bw500Cr45Sf128; // short range and fast, but wide bandwidth