projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kdb: re-enable calling poor man's scheduler inside kbd_peek().
[bertos.git]
/
bertos
/
cpu
/
frame.h
diff --git
a/bertos/cpu/frame.h
b/bertos/cpu/frame.h
index 4d78a3c37ae5d2d8866cd76efbb10de67589a757..0809b0eca4d86994baaa48706506f3b8ba4aa0fa 100644
(file)
--- a/
bertos/cpu/frame.h
+++ b/
bertos/cpu/frame.h
@@
-212,9
+212,9
@@
#if defined(ARCH_QT) && (ARCH & ARCH_QT)
/* This emulator hook should yield the CPU to the host. */
EXTERN_C_BEGIN
#if defined(ARCH_QT) && (ARCH & ARCH_QT)
/* This emulator hook should yield the CPU to the host. */
EXTERN_C_BEGIN
- void
refresh
(void);
+ void
schedule
(void);
EXTERN_C_END
EXTERN_C_END
- #define CPU_IDLE
refresh
()
+ #define CPU_IDLE
schedule
()
#else /* !ARCH_EMUL */
#define CPU_IDLE do { /* nothing */ } while (0)
#endif /* !ARCH_EMUL */
#else /* !ARCH_EMUL */
#define CPU_IDLE do { /* nothing */ } while (0)
#endif /* !ARCH_EMUL */