Workaround for CashAgent: send 'vend_failed()' on program start
This commit is contained in:
parent
4cc4247744
commit
b10e597e59
@ -59,6 +59,9 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *healthEventReceive
|
|||||||
|
|
||||||
hw->rtc_setDateTime();
|
hw->rtc_setDateTime();
|
||||||
|
|
||||||
|
// this is necessary to init the CashAgentLib (!)
|
||||||
|
hw->vend_failed();
|
||||||
|
|
||||||
|
|
||||||
// text encoding for printer
|
// text encoding for printer
|
||||||
this->codec = QTextCodec::codecForName(printerEncoding);
|
this->codec = QTextCodec::codecForName(printerEncoding);
|
||||||
|
Loading…
Reference in New Issue
Block a user