From d85577d81d4631dfb05b2baac877330a23cd1f3b Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Tue, 19 Aug 2014 00:54:49 +1000 Subject: [PATCH] CMS50F37 debug test 11 --- sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp b/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp index 44edb58b..df42d7c5 100644 --- a/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp +++ b/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp @@ -188,7 +188,7 @@ void CMS50F37Loader::processBytes(QByteArray bytes) data = buffer.at(idx+3) ^ 0x80; break; case 0x07: // 7,80,80,80,94,8e,88,92 - tmpstr = QString().sprintf("%02i%02i%02i%02i",buffer.at(idx+5), buffer.at(idx+4), buffer.at(idx+6), buffer.at(idx+7)); + tmpstr = QString().sprintf("%02i%02i%02i%02i",buffer.at(idx+4), buffer.at(idx+5), buffer.at(idx+6), buffer.at(idx+7)); imp_date = QDate::fromString(tmpstr, "yyyyMMdd"); break; case 0x08: // 8,80,80,80,a4,81,80,80