diff --git a/README.md b/README.md index b767c23..ce32943 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,7 @@ Github Sponsors: v0.1.2: +* Fix PS/MM setVoltage to match the 3-digit syntax * Added feature to substract current v0.1.1: diff --git a/dltmultimeter.cpp b/dltmultimeter.cpp index 6216a31..0360e4a 100644 --- a/dltmultimeter.cpp +++ b/dltmultimeter.cpp @@ -521,7 +521,7 @@ void DLTMultimeter::setVoltage(float value) { QString text; - // Voltage set cmd sintax: VOLT### (### is the voltage in dV) + // Voltage set cmd syntax: VOLT### (### is the voltage in dV) text = QString("VOLT%L1\r").arg((int)(value*10), 3, 10, QLatin1Char('0')); if(!readVoltageOngoing)