mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Differentiate between HWLEDCount and LayoutLEDCount
This commit is contained in:
parent
545f184c50
commit
b147b215a5
@ -113,7 +113,7 @@ void Hyperion::start()
|
||||
|
||||
// initialize LED-devices
|
||||
QJsonObject ledDevice = getSetting(settings::DEVICE).object();
|
||||
ledDevice["currentLedCount"] = _hwLedCount; // Inject led count info
|
||||
ledDevice["currentLedCount"] = getLedCount(); // Inject led count info
|
||||
|
||||
_ledDeviceWrapper = new LedDeviceWrapper(this);
|
||||
connect(this, &Hyperion::compStateChangeRequest, _ledDeviceWrapper, &LedDeviceWrapper::handleComponentState);
|
||||
|
Loading…
Reference in New Issue
Block a user