finish channel name cleanup

This commit is contained in:
Kevin Hester 2020-12-15 16:13:16 +08:00
parent 5930f8270d
commit be38a58a62
3 changed files with 4 additions and 4 deletions

View File

@ -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

2
proto

@ -1 +1 @@
Subproject commit 5f580041beeb593d48eabacd2b959df04558c383
Subproject commit e0df97118b3dc8105c9c8dbd59e9bb8cd859b1bb

View File

@ -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: