mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-28 07:13:25 +00:00
Don't forget to break!
This commit is contained in:
parent
cbd30f95f3
commit
6022b749ba
@ -444,12 +444,16 @@ extern struct portduino_config_struct {
|
|||||||
switch (configDisplayMode) {
|
switch (configDisplayMode) {
|
||||||
case meshtastic_Config_DisplayConfig_DisplayMode_TWOCOLOR:
|
case meshtastic_Config_DisplayConfig_DisplayMode_TWOCOLOR:
|
||||||
out << YAML::Key << "DisplayMode" << YAML::Value << "TWOCOLOR";
|
out << YAML::Key << "DisplayMode" << YAML::Value << "TWOCOLOR";
|
||||||
|
break;
|
||||||
case meshtastic_Config_DisplayConfig_DisplayMode_INVERTED:
|
case meshtastic_Config_DisplayConfig_DisplayMode_INVERTED:
|
||||||
out << YAML::Key << "DisplayMode" << YAML::Value << "INVERTED";
|
out << YAML::Key << "DisplayMode" << YAML::Value << "INVERTED";
|
||||||
|
break;
|
||||||
case meshtastic_Config_DisplayConfig_DisplayMode_COLOR:
|
case meshtastic_Config_DisplayConfig_DisplayMode_COLOR:
|
||||||
out << YAML::Key << "DisplayMode" << YAML::Value << "COLOR";
|
out << YAML::Key << "DisplayMode" << YAML::Value << "COLOR";
|
||||||
|
break;
|
||||||
case meshtastic_Config_DisplayConfig_DisplayMode_DEFAULT:
|
case meshtastic_Config_DisplayConfig_DisplayMode_DEFAULT:
|
||||||
out << YAML::Key << "DisplayMode" << YAML::Value << "DEFAULT";
|
out << YAML::Key << "DisplayMode" << YAML::Value << "DEFAULT";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
out << YAML::EndMap; // Config
|
out << YAML::EndMap; // Config
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user