diff --git a/include/hyperion/Hyperion.h b/include/hyperion/Hyperion.h index 9b301e2f..90a76591 100644 --- a/include/hyperion/Hyperion.h +++ b/include/hyperion/Hyperion.h @@ -474,7 +474,7 @@ private slots: void handleNewVideoMode(VideoMode mode) { _currVideoMode = mode; } - void handlPriorityChangedLedDevice(const quint8& priority); + void handlePriorityChangedLedDevice(const quint8& priority); private: friend class HyperionDaemon; diff --git a/libsrc/effectengine/EffectFileHandler.cpp b/libsrc/effectengine/EffectFileHandler.cpp index 98ea45c2..d3d07dd5 100644 --- a/libsrc/effectengine/EffectFileHandler.cpp +++ b/libsrc/effectengine/EffectFileHandler.cpp @@ -208,7 +208,7 @@ void EffectFileHandler::updateEffects() { if(directory.mkpath(path)) { - Info(_log, "New Effect path \"%s\" created successfull", QSTRING_CSTR(path) ); + Info(_log, "New Effect path \"%s\" created successfully", QSTRING_CSTR(path) ); } else { diff --git a/libsrc/hyperion/Hyperion.cpp b/libsrc/hyperion/Hyperion.cpp index b5b81003..2b5182f0 100644 --- a/libsrc/hyperion/Hyperion.cpp +++ b/libsrc/hyperion/Hyperion.cpp @@ -87,7 +87,7 @@ void Hyperion::start() // connect Hyperion::update with Muxer visible priority changes as muxer updates independent connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::update); - connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::handlPriorityChangedLedDevice); + connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::handlePriorityChangedLedDevice); connect(&_muxer, &PriorityMuxer::visibleComponentChanged, this, &Hyperion::handleVisibleComponentChanged); // listens for ComponentRegister changes of COMP_ALL to perform core enable/disable actions @@ -531,7 +531,7 @@ void Hyperion::handleVisibleComponentChanged(hyperion::Components comp) _raw2ledAdjustment->setBacklightEnabled((comp != hyperion::COMP_COLOR && comp != hyperion::COMP_EFFECT)); } -void Hyperion::handlPriorityChangedLedDevice(const quint8& priority) +void Hyperion::handlePriorityChangedLedDevice(const quint8& priority) { quint8 previousPriority = _muxer.getPreviousPriority(); diff --git a/libsrc/leddevice/LedDeviceTemplate.cpp b/libsrc/leddevice/LedDeviceTemplate.cpp index ddfe1ebc..dd8ce3f4 100644 --- a/libsrc/leddevice/LedDeviceTemplate.cpp +++ b/libsrc/leddevice/LedDeviceTemplate.cpp @@ -3,10 +3,6 @@ LedDeviceTemplate::LedDeviceTemplate(const QJsonObject &deviceConfig) : LedDevice() { - _devConfig = deviceConfig; - _isDeviceReady = false; - - _activeDeviceType = deviceConfig["type"].toString("UNSPECIFIED").toLower(); } LedDevice* LedDeviceTemplate::construct(const QJsonObject &deviceConfig) diff --git a/libsrc/leddevice/dev_net/LedDeviceWled.h b/libsrc/leddevice/dev_net/LedDeviceWled.h index bc195ff8..3d5a65b3 100644 --- a/libsrc/leddevice/dev_net/LedDeviceWled.h +++ b/libsrc/leddevice/dev_net/LedDeviceWled.h @@ -92,7 +92,7 @@ protected: /// /// @brief Power-/turn on the WLED device. /// - /// @brief Store the device's original state. + /// @return True if success /// bool powerOn() override;