From: batt Date: Wed, 27 Aug 2008 13:35:20 +0000 (+0000) Subject: Move proc_testRun() out of loop. X-Git-Tag: 2.0.0~217 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3e316c2bb5b13f7347d21dba4514975835ca80b9;p=bertos.git Move proc_testRun() out of loop. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1717 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/app/at91sam7s/at91sam7s.c b/app/at91sam7s/at91sam7s.c index 4b442ec8..275af6e5 100644 --- a/app/at91sam7s/at91sam7s.c +++ b/app/at91sam7s/at91sam7s.c @@ -106,10 +106,10 @@ int main(void) timer_setDelay(&leds_timer, ms_to_ticks(100)); timer_add(&leds_timer); + ASSERT(proc_testRun() == 0); // Main loop for(;;) { - proc_testRun(); kfile_printf(&ser_fd.fd, "From serial 0: %s\r\n", msg); } return 0;