From 6bbf2043c5f218721d01c9938d90483b93b957e8 Mon Sep 17 00:00:00 2001 From: Terraneo Federico <fede.tft@miosix.org> Date: Fri, 11 Nov 2016 15:01:39 +0100 Subject: [PATCH] Minor cleanup --- miosix/_tools/testsuite/testsuite.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/miosix/_tools/testsuite/testsuite.cpp b/miosix/_tools/testsuite/testsuite.cpp index 5abbc783..e3e76d9d 100644 --- a/miosix/_tools/testsuite/testsuite.cpp +++ b/miosix/_tools/testsuite/testsuite.cpp @@ -744,7 +744,6 @@ static void t2_p2(void *argv) #ifdef SCHED_TYPE_EDF do { Thread::getCurrentThread()->wait(); - long long t = getTime(); Thread::sleep(20); t2_v1=true; } while(!Thread::testTerminate()); @@ -1045,8 +1044,7 @@ static void test_4() Thread::sleep(10); #ifdef SCHED_TYPE_EDF Thread::create(t4_p2,STACK_SMALL); - //const int period=static_cast<int>(TICK_FREQ*0.05); - const int period= 50000000; //50 ms + const int period=50000000; //50 ms tick=getTime(); //This takes .024/.05=48% of CPU time for(int i=0;i<10;i++) -- GitLab