Show additional technical info in label optionally. Added utility function to toggle a bool variable.

This commit is contained in:
xenakios
2018-02-13 16:51:57 +02:00
parent 53029555d0
commit c9a3a3ab03
3 changed files with 24 additions and 6 deletions

View File

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