X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fkbd.c;h=5028d316fd6b3894c85081d2e1d9d36162d28f27;hb=e62ca0b357f09804d7d894949df44224c9d74bb7;hp=d592f069df8731a3739d721fdaccc382ea86eb98;hpb=c22fe24a0da896a52dbc3882390ec18a440ef56a;p=bertos.git diff --git a/bertos/drv/kbd.c b/bertos/drv/kbd.c index d592f069..5028d316 100644 --- a/bertos/drv/kbd.c +++ b/bertos/drv/kbd.c @@ -27,7 +27,7 @@ * the GNU General Public License. * * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/) - * Copyright 1999, 2003 Bernardo Innocenti + * Copyright 1999, 2003 Bernie Innocenti * * --> * @@ -35,7 +35,7 @@ * * \version $Id$ * - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Stefano Fedrigo * \author Francesco Sacchi * @@ -154,7 +154,7 @@ static void kbd_softint(UNUSED_ARG(iptr_t, arg)) timer_add(&kbd_timer); } -#else +#else #error "Define keyboard poll method" #endif /* CONFIG_KBD_POLL */ @@ -236,7 +236,7 @@ void kbd_addHandler(struct KbdHandler *handler) KbdHandler *node; List *list; - cpuflags_t flags; + cpu_flags_t flags; IRQ_SAVE_DISABLE(flags); /* Choose between raw and coocked handlers list */ @@ -473,7 +473,7 @@ void kbd_init(void) MOD_CHECK(timer); /* Add kbd handler to soft timers list */ - event_initSoftInt(&kbd_timer.expire, kbd_softint, NULL); + event_initSoftint(&kbd_timer.expire, kbd_softint, NULL); timer_setDelay(&kbd_timer, ms_to_ticks(KBD_CHECK_INTERVAL)); timer_add(&kbd_timer);