Update to new interface.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 26 Aug 2008 14:00:15 +0000 (14:00 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 26 Aug 2008 14:00:15 +0000 (14:00 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1707 38d2e660-2303-0410-9eaa-f027e97ec537

app/at91sam7s/at91sam7s.c

index 25395495f5b74b0a1fcd549cdb65fa89e18cde68..4b442ec8214067cec9a678df37595b8e9e5512c6 100644 (file)
@@ -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;