mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
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:
@@ -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)
|
||||
|
@@ -119,9 +119,10 @@ protected slots:
|
||||
///
|
||||
/// @brief Set device in error state
|
||||
///
|
||||
/// @param errorMsg The error message to be logged
|
||||
/// @param[in] errorMsg The error message to be logged
|
||||
/// @param[in] isRecoverable If False, no further retries will be done
|
||||
///
|
||||
void setInError( const QString& errorMsg) override;
|
||||
void setInError( const QString& errorMsg, bool isRecoverable=true) override;
|
||||
|
||||
///
|
||||
/// @brief Handle any feedback provided by the device
|
||||
|
Reference in New Issue
Block a user