Set dateTime on plugin init

This commit is contained in:
Siegfried Siegert 2023-06-12 09:51:34 +02:00
parent 668b10e55d
commit a3f32b576e
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -46,6 +46,8 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *healthEventReceive
// open serial port // open serial port
hw->dc_openSerial(5, "115200", serialPort, 1); hw->dc_openSerial(5, "115200", serialPort, 1);
hw->rtc_setDateTime();
// text encoding for printer // text encoding for printer
this->codec = QTextCodec::codecForName(printerEncoding); this->codec = QTextCodec::codecForName(printerEncoding);