From: batt Date: Tue, 26 Aug 2008 14:00:15 +0000 (+0000) Subject: Update to new interface. X-Git-Tag: 2.0.0~227 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=0620ea1408c9976801504b1741749519cd6bb6c2;p=bertos.git Update to new interface. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1707 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/app/at91sam7s/at91sam7s.c b/app/at91sam7s/at91sam7s.c index 25395495..4b442ec8 100644 --- a/app/at91sam7s/at91sam7s.c +++ b/app/at91sam7s/at91sam7s.c @@ -102,14 +102,14 @@ int main(void) /* turn first led on */ PIOA_CODR = 0x00000001; - timer_set_event_softint(&leds_timer, (Hook)leds_toggle, 0); + timer_setSoftint(&leds_timer, (Hook)leds_toggle, 0); timer_setDelay(&leds_timer, ms_to_ticks(100)); timer_add(&leds_timer); // Main loop for(;;) { - proc_test(); + proc_testRun(); kfile_printf(&ser_fd.fd, "From serial 0: %s\r\n", msg); } return 0;