Update currtime to use 1 second

This commit is contained in:
Simon Stürz 2021-09-30 20:54:31 +02:00
parent 5ea0dd49b4
commit f8d0037f25

View File

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