From be38a58a62aa883b9a99aa1ed88c992f36b6a524 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Tue, 15 Dec 2020 16:13:16 +0800 Subject: [PATCH] finish channel name cleanup --- docs/software/TODO.md | 2 +- proto | 2 +- src/mesh/NodeDB.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/software/TODO.md b/docs/software/TODO.md index e1133ee7..086afc16 100644 --- a/docs/software/TODO.md +++ b/docs/software/TODO.md @@ -10,7 +10,7 @@ For app cleanup: * DONE write devapi user guide * DONE update android code: https://developer.android.com/topic/libraries/view-binding/migration * DONE test GPIO watch -* set --set-chan-fast, --set-chan-default +* DONE set --set-chan-fast, --set-chan-default * writeup docs on gpio * DONE make python ping command * DONE make hello world example service diff --git a/proto b/proto index 5f580041..e0df9711 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit 5f580041beeb593d48eabacd2b959df04558c383 +Subproject commit e0df97118b3dc8105c9c8dbd59e9bb8cd859b1bb diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index eb8c8cc3..ed6720ea 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -144,9 +144,9 @@ bool NodeDB::resetRadioConfig() channelName = "Unset"; if(channelSettings.bandwidth == 0) switch(channelSettings.modem_config) { case ChannelSettings_ModemConfig_Bw125Cr45Sf128: - channelName = "MediumRange"; break; + channelName = "Medium"; break; case ChannelSettings_ModemConfig_Bw500Cr45Sf128: - channelName = "Fast"; break; + channelName = "ShortFast"; break; case ChannelSettings_ModemConfig_Bw31_25Cr48Sf512: channelName = "LongAlt"; break; case ChannelSettings_ModemConfig_Bw125Cr48Sf4096: