diff -r 206a6eaaeb71 -r 0659d0e1a03c kerneltest/e32test/dmav2/test_thread.cpp --- 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));