SwitchOn dc feature autorequest

This is necessary for receiving coint input events
This commit is contained in:
Siegfried Siegert 2023-05-22 11:21:08 +02:00
parent 30d790b84f
commit a97ef4ea04
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -34,6 +34,7 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *healthEventReceive
QByteArray printerEncoding = settings.value("DEVICE_CONTROLLER/printerEnconding", "ISO 8859-2").toString().toLatin1(); QByteArray printerEncoding = settings.value("DEVICE_CONTROLLER/printerEnconding", "ISO 8859-2").toString().toLatin1();
hw->dc_autoRequest(true);
// open serial port // open serial port
hw->dc_openSerial(5, "115200", serialPort, 1); hw->dc_openSerial(5, "115200", serialPort, 1);