projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add reg definition for adc driver.
[bertos.git]
/
bertos
/
drv
/
kbd.c
diff --git
a/bertos/drv/kbd.c
b/bertos/drv/kbd.c
index 3334deb216f280df623f8c48aef2fc8790ad904b..fc6232c7a40d0c96229a588ace82fb075752c3c2 100644
(file)
--- a/
bertos/drv/kbd.c
+++ b/
bertos/drv/kbd.c
@@
-33,7
+33,6
@@
*
* \brief Keyboard driver (implementation)
*
*
* \brief Keyboard driver (implementation)
*
- * \version $Id$
*
* \author Bernie Innocenti <bernie@codewiz.org>
* \author Stefano Fedrigo <aleph@develer.com>
*
* \author Bernie Innocenti <bernie@codewiz.org>
* \author Stefano Fedrigo <aleph@develer.com>
@@
-178,7
+177,9
@@
keymask_t kbd_peek(void)
keymask_t key = 0;
#if CONFIG_KBD_SCHED
keymask_t key = 0;
#if CONFIG_KBD_SCHED
- timer_delay(1);
+ /* Let other tasks run for a while */
+ extern void schedule(void);
+ schedule();
#endif
/* Extract an event from the keyboard buffer */
#endif
/* Extract an event from the keyboard buffer */