fixed some compiler warnings

This commit is contained in:
Markus Fröschle
2014-09-01 14:23:33 +00:00
parent 6fb30a56eb
commit 029388c6c4
6 changed files with 159 additions and 75 deletions

View File

@@ -44,6 +44,11 @@
typedef bool (*checker_func)(void);
extern void wait(uint32_t);
inline static void udelay(long us)
{
wait((uint32_t) us);
}
extern bool waitfor(uint32_t us, checker_func condition);
extern uint32_t get_timer(void);
extern void wait_ms(uint32_t ms);