From a97ef4ea0418a65dafcee4af9d67e74e443eabf9 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Mon, 22 May 2023 11:21:08 +0200 Subject: [PATCH] SwitchOn dc feature autorequest This is necessary for receiving coint input events --- src/ATBAPP/ATBDeviceControllerPlugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 0219fb5..c116156 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -34,6 +34,7 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *healthEventReceive QByteArray printerEncoding = settings.value("DEVICE_CONTROLLER/printerEnconding", "ISO 8859-2").toString().toLatin1(); + hw->dc_autoRequest(true); // open serial port hw->dc_openSerial(5, "115200", serialPort, 1);