Update currtime to use 1 second
This commit is contained in:
parent
5ea0dd49b4
commit
f8d0037f25
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user