From 55717b4bfdb91873498bf4fde38fbc046db18685 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Tue, 19 Aug 2014 15:02:16 +1000 Subject: [PATCH] CMS50I session select 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 e673003e..73ae7b42 100644 --- a/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp +++ b/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp @@ -343,7 +343,7 @@ void CMS50F37Loader::processBytes(QByteArray bytes) case 0x02: data = buffer.at(idx+1); if (data == 0) { - model = QString(buffer.mid(idx+2, 6)); + model = QString(buffer.mid(idx+3, 6)); qDebug() << "Model:" << model; } break;