Skip to content

Commit 7e370b3

Browse files
authored
Fix typos (#1051)
* Fix typo in handlePriorityChangedLedDevice * Typo * Correct description * Correct LedDeviceTemplate
1 parent 3bf1089 commit 7e370b3

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

include/hyperion/Hyperion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ private slots:
474474
void handleNewVideoMode(VideoMode mode) { _currVideoMode = mode; }
475475

476476

477-
void handlPriorityChangedLedDevice(const quint8& priority);
477+
void handlePriorityChangedLedDevice(const quint8& priority);
478478

479479
private:
480480
friend class HyperionDaemon;

libsrc/effectengine/EffectFileHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ void EffectFileHandler::updateEffects()
208208
{
209209
if(directory.mkpath(path))
210210
{
211-
Info(_log, "New Effect path \"%s\" created successfull", QSTRING_CSTR(path) );
211+
Info(_log, "New Effect path \"%s\" created successfully", QSTRING_CSTR(path) );
212212
}
213213
else
214214
{

libsrc/hyperion/Hyperion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void Hyperion::start()
8787

8888
// connect Hyperion::update with Muxer visible priority changes as muxer updates independent
8989
connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::update);
90-
connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::handlPriorityChangedLedDevice);
90+
connect(&_muxer, &PriorityMuxer::visiblePriorityChanged, this, &Hyperion::handlePriorityChangedLedDevice);
9191
connect(&_muxer, &PriorityMuxer::visibleComponentChanged, this, &Hyperion::handleVisibleComponentChanged);
9292

9393
// listens for ComponentRegister changes of COMP_ALL to perform core enable/disable actions
@@ -531,7 +531,7 @@ void Hyperion::handleVisibleComponentChanged(hyperion::Components comp)
531531
_raw2ledAdjustment->setBacklightEnabled((comp != hyperion::COMP_COLOR && comp != hyperion::COMP_EFFECT));
532532
}
533533

534-
void Hyperion::handlPriorityChangedLedDevice(const quint8& priority)
534+
void Hyperion::handlePriorityChangedLedDevice(const quint8& priority)
535535
{
536536
quint8 previousPriority = _muxer.getPreviousPriority();
537537

libsrc/leddevice/LedDeviceTemplate.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
LedDeviceTemplate::LedDeviceTemplate(const QJsonObject &deviceConfig)
44
: LedDevice()
55
{
6-
_devConfig = deviceConfig;
7-
_isDeviceReady = false;
8-
9-
_activeDeviceType = deviceConfig["type"].toString("UNSPECIFIED").toLower();
106
}
117

128
LedDevice* LedDeviceTemplate::construct(const QJsonObject &deviceConfig)

libsrc/leddevice/dev_net/LedDeviceWled.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class LedDeviceWled : public ProviderUdp
9292
///
9393
/// @brief Power-/turn on the WLED device.
9494
///
95-
/// @brief Store the device's original state.
95+
/// @return True if success
9696
///
9797
bool powerOn() override;
9898

0 commit comments

Comments
 (0)