Differentiate between HWLEDCount and LayoutLEDCount

This commit is contained in:
Lord-Grey 2021-11-03 00:40:31 +01:00
parent 545f184c50
commit b147b215a5
1 changed files with 1 additions and 1 deletions

View File

@ -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);