removed a few other volatile declarations

This commit is contained in:
Markus Fröschle
2012-11-28 04:25:09 +00:00
parent e7e5347c70
commit 04c83e68c1

View File

@@ -37,7 +37,7 @@ inline void wait(uint32_t us)
* the same as above, with a checker function which gets called while * the same as above, with a checker function which gets called while
* busy waiting and allows for an early return if it returns true * busy waiting and allows for an early return if it returns true
*/ */
inline volatile bool waitfor(volatile uint32_t us, int (*condition)(void)) inline bool waitfor(uint32_t us, int (*condition)(void))
{ {
uint32_t target = MCF_SLT_SCNT(0) - (us * 132); uint32_t target = MCF_SLT_SCNT(0) - (us * 132);