mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
* 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:
@@ -246,7 +246,8 @@ int LedDevice::writeBlack(int numberOfBlack)
|
||||
QTimer::singleShot(_latchTime_ms, &loop, &QEventLoop::quit);
|
||||
loop.exec();
|
||||
}
|
||||
rc = write(std::vector<ColorRgb>(static_cast<unsigned long>(_ledCount), ColorRgb::BLACK ));
|
||||
_lastLedValues = std::vector<ColorRgb>(static_cast<unsigned long>(_ledCount), ColorRgb::BLACK );
|
||||
rc = write(_lastLedValues);
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
Reference in New Issue
Block a user