login
This commit is contained in:
@@ -264,7 +264,10 @@ void biox_CopyBlock(unsigned char *src, UINT srcPos, UCHAR *dest, UINT destPos,
|
||||
|
||||
void iuc_asynchpos_sub_synchTime() {
|
||||
QDateTime current = QDateTime::currentDateTime();
|
||||
|
||||
current.setTime(QTime(12, 0, 0));
|
||||
current.setDate(QDate(2024, 6, 12));
|
||||
|
||||
QString const &s = current.toString(Qt::ISODate);
|
||||
|
||||
QByteArray time(s.toStdString().c_str());
|
||||
@@ -290,7 +293,7 @@ uint32_t iuc_asynchpos_sub_updateCRC(uint32_t crc, unsigned char* pData, size_t
|
||||
|
||||
crc = ~crc;
|
||||
while (len > 0) {
|
||||
crc ^= (uint32_t) pData[i];
|
||||
crc ^= (uint32_t)pData[i];
|
||||
++i;
|
||||
|
||||
for (j = 0; j < 8; ++j) {
|
||||
@@ -704,7 +707,7 @@ int main() {
|
||||
|
||||
|
||||
qCritical() << "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" << endl;
|
||||
//return 0;
|
||||
// return 0;
|
||||
|
||||
// unsigned static char terminalID[IUC_ASYNCHPOS_MIN_BASE_DATA_SIZE];
|
||||
// unsigned static char terminalAPAK[IUC_ASYNCHPOS_MIN_BASE_DATA_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user