Set current immedialty

This commit is contained in:
Simon Stürz 2021-09-28 22:03:35 +02:00
parent e23ddd4a54
commit 74f3174a7f

View File

@ -202,7 +202,7 @@ QUuid KeContact::setMaxAmpere(int milliAmpere)
// Print information that we are executing now the update action
qCDebug(dcKeba()) << "Update max current to : " << milliAmpere;
QString commandLine = QString("currtime %1 1").arg(milliAmpere);
QString commandLine = QString("currtime %1 0").arg(milliAmpere);
QByteArray datagram = commandLine.toUtf8();
KeContactRequest request(QUuid::createUuid(), datagram);
request.setDelayUntilNextCommand(1200);