From 3e316c2bb5b13f7347d21dba4514975835ca80b9 Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 27 Aug 2008 13:35:20 +0000 Subject: [PATCH] Move proc_testRun() out of loop. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1717 38d2e660-2303-0410-9eaa-f027e97ec537 --- app/at91sam7s/at91sam7s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1