From 74f3174a7fda230a123538b8dcad7f08e1384cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Tue, 28 Sep 2021 22:03:35 +0200 Subject: [PATCH] Set current immedialty --- keba/kecontact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keba/kecontact.cpp b/keba/kecontact.cpp index 79876fc7..b812202d 100644 --- a/keba/kecontact.cpp +++ b/keba/kecontact.cpp @@ -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);