Skip to content

Commit

Permalink
feat: add ShortTurbo default channel name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir committed Aug 25, 2024
1 parent dd00f79 commit b4cdbf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/geeksville/mesh/model/Channel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ data class Channel(
get() = settings.name.ifEmpty {
// We have a new style 'empty' channel name. Use the same logic from the device to convert that to a human readable name
if (loraConfig.usePreset) when (loraConfig.modemPreset) {
ModemPreset.SHORT_TURBO -> "ShortTurbo"
ModemPreset.SHORT_FAST -> "ShortFast"
ModemPreset.SHORT_SLOW -> "ShortSlow"
ModemPreset.MEDIUM_FAST -> "MediumFast"
Expand Down

0 comments on commit b4cdbf0

Please sign in to comment.