From 3429786e106f2c145c8987d5b4a39e63134a789b Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Fri, 10 Feb 2023 15:51:01 +0000 Subject: [PATCH] Reset knobValues to 0 after sending --- usbcontroller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/usbcontroller.cpp b/usbcontroller.cpp index bbcdc7e..9670959 100644 --- a/usbcontroller.cpp +++ b/usbcontroller.cpp @@ -592,6 +592,7 @@ void usbController::runTimer() cmd.suffix = (quint8)knobValues[i]; qInfo(logUsbControl()) << "Sending Knob:" << kb->num << "Command:" << cmd.index << ":Value:" << cmd.suffix; emit button(&cmd); + knobValues[i] = 0; } } }