kerneltest/e32test/dmav2/test_thread.cpp
changeset 293 0659d0e1a03c
parent 130 c30940f6d922
--- a/kerneltest/e32test/dmav2/test_thread.cpp	Mon Oct 18 15:31:10 2010 +0100
+++ b/kerneltest/e32test/dmav2/test_thread.cpp	Wed Oct 20 13:58:28 2010 +0100
@@ -75,7 +75,11 @@
 		RDebug::Printf("RThread::Create failed, code=%d", r);
 		User::Panic(KPanicCat, EThreadCreateFailed);
 		}
-
+#if defined(DMA_INVERTED_THREAD_PRIORITIES)
+	iThread.SetPriority(EPriorityRealTime);
+#else
+	iThread.SetPriority(EPriorityLess);
+#endif	// #if defined(DMA_INVERTED_THREAD_PRIORITIES)
 	iThread.Logon(iLogonStatus);
 	__ASSERT_ALWAYS(iLogonStatus == KRequestPending, User::Panic(_L("TTestThread"),0));