diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 542046c..9d5d411 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -46,6 +46,8 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *healthEventReceive // open serial port hw->dc_openSerial(5, "115200", serialPort, 1); + hw->rtc_setDateTime(); + // text encoding for printer this->codec = QTextCodec::codecForName(printerEncoding);