Show additional technical info in label optionally. Added utility function to toggle a bool variable.
This commit is contained in:
@ -240,4 +240,9 @@ inline String secondsToString(double seconds)
|
||||
timestring = String(durintdays) + " days " + String(durinthours % 24) + " hours " +
|
||||
String(durintminutes % 60) + " mins ";
|
||||
return timestring;
|
||||
}
|
||||
}
|
||||
|
||||
inline void toggleBool(bool& b)
|
||||
{
|
||||
b = !b;
|
||||
}
|
||||
|
Reference in New Issue
Block a user