Fix #1007 - LED's retain last state after clearing a source (#1008)

* Save BLACK as lastLedColor during writeBlack

* Remove debug statement overhead

* Re-Add typecasting to ensure readable output

* Revert "New language support: Russian and Chinese (simplified)"

This reverts commit 5c95fab894.

* Ignore TemporaryError
This commit is contained in:
LordGrey
2020-09-25 20:33:11 +02:00
committed by GitHub
parent 730b5d5681
commit 5d5b24979d
7 changed files with 22 additions and 496 deletions

View File

@@ -46,9 +46,9 @@ static_assert(sizeof(ColorRgb) == 3, "Incorrect size of ColorRgb");
inline std::ostream& operator<<(std::ostream& os, const ColorRgb& color)
{
os << "{"
<< color.red << ","
<< color.green << ","
<< color.blue
<< static_cast<unsigned>(color.red) << ","
<< static_cast<unsigned>(color.green) << ","
<< static_cast<unsigned>(color.blue)
<< "}";
return os;
@@ -64,9 +64,9 @@ inline std::ostream& operator<<(std::ostream& os, const ColorRgb& color)
inline QTextStream& operator<<(QTextStream &os, const ColorRgb& color)
{
os << "{"
<< color.red << ","
<< color.green << ","
<< color.blue
<< static_cast<unsigned>(color.red) << ","
<< static_cast<unsigned>(color.green) << ","
<< static_cast<unsigned>(color.blue)
<< "}";
return os;