HomeScreen improvements with registers for each lamp

This commit is contained in:
2023-02-15 23:14:22 +01:00
parent 09d88ea75e
commit 0be230668d
2 changed files with 61 additions and 22 deletions

View File

@ -103,6 +103,8 @@ bool DmxController::start()
void DmxController::setChannel(int channel, int value)
{
//qDebug() << channel << value;
Q_ASSERT(channel >= 0 && channel < std::size(buf));
buf[channel] = value;
}