Workaround for CashAgent: send 'vend_failed()' on program start

This commit is contained in:
Siegfried Siegert 2023-06-15 14:18:32 +02:00
parent 4cc4247744
commit b10e597e59
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -59,6 +59,9 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *healthEventReceive
hw->rtc_setDateTime();
// this is necessary to init the CashAgentLib (!)
hw->vend_failed();
// text encoding for printer
this->codec = QTextCodec::codecForName(printerEncoding);