diff --git a/libsrc/leddevice/LedDevice.cpp b/libsrc/leddevice/LedDevice.cpp index 45331853..410c85cb 100644 --- a/libsrc/leddevice/LedDevice.cpp +++ b/libsrc/leddevice/LedDevice.cpp @@ -52,6 +52,12 @@ void LedDevice::setEnable(bool enable) { switchOff(); } + else { + if ( !_enabled && enable) + { + switchOn(); + } + } _enabled = enable; }