more cleaning1
This commit is contained in:
parent
f45871012c
commit
b501669703
|
|
@ -74,20 +74,10 @@ namespace MENU_Utils {
|
|||
if (bright == 255) {
|
||||
return "MAX";
|
||||
} else {
|
||||
return "MIN";
|
||||
return "min";
|
||||
}
|
||||
}
|
||||
|
||||
/*const String& screenBrightnessAsString(uint8_t const bright) {
|
||||
static const String max = "MAX";
|
||||
static const String min = "min";
|
||||
if (bright == 255) {
|
||||
return max;
|
||||
} else {
|
||||
return min;
|
||||
}
|
||||
}*/
|
||||
|
||||
void showOnScreen() {
|
||||
String lastLine, firstLineDecoder, courseSpeedAltitude, speedPacketDec, coursePacketDec, pathDec;
|
||||
uint32_t lastMenuTime = millis() - menuTime;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@ namespace MENU_Utils {
|
|||
|
||||
String checkBTType();
|
||||
String checkProcessActive(bool process);
|
||||
//String const& screenBrightnessAsString(uint8_t const bright);
|
||||
//const String& screenBrightnessAsString(uint8_t const bright);
|
||||
const String screenBrightnessAsString(const uint8_t bright);
|
||||
void showOnScreen();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue