removed a few other volatile declarations

This commit is contained in:
Markus Fröschle
2012-11-28 04:25:09 +00:00
parent 000e2a0a0a
commit 5ffc7def57

View File

@@ -37,7 +37,7 @@ inline void wait(uint32_t us)
* the same as above, with a checker function which gets called while
* 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);