WLED segment streaming support (#1556)

* WLED segment streaming support

* Address CodeQL findings

* WLED - Remove that interim color is shown when WLED is powered off

* Allow LEDDevice to stay on after streaming

* Apply stayOn on segment streamed to

* Fix LED-Matrix Layout: Add Cabling direction selection element again
This commit is contained in:
LordGrey
2023-02-07 07:15:22 +00:00
committed by GitHub
parent ef7ceb0bbf
commit a57bcbc2b8
11 changed files with 2078 additions and 1526 deletions

View File

@@ -207,12 +207,12 @@ bool ProviderRs232::tryOpen(int delayAfterConnect_ms)
return _rs232Port.isOpen();
}
void ProviderRs232::setInError(const QString& errorMsg)
void ProviderRs232::setInError(const QString& errorMsg, bool isRecoverable)
{
_rs232Port.clearError();
this->close();
LedDevice::setInError( errorMsg );
LedDevice::setInError( errorMsg, isRecoverable );
}
int ProviderRs232::writeBytes(const qint64 size, const uint8_t *data)