Set dateTime on plugin init
This commit is contained in:
parent
668b10e55d
commit
a3f32b576e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user