forked from Imagelibrary/rtems
mcf5206elite/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts
This commit is contained in:
@@ -143,7 +143,7 @@ extern char _SYS_CLOCK_FREQUENCY; /* Don't use this variable directly!!! */
|
|||||||
* This is very dependent on the clock speed of the target.
|
* This is very dependent on the clock speed of the target.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define delay( microseconds ) \
|
#define rtems_bsp_delay( microseconds ) \
|
||||||
{ register uint32_t _delay=(microseconds); \
|
{ register uint32_t _delay=(microseconds); \
|
||||||
register uint32_t _tmp=123; \
|
register uint32_t _tmp=123; \
|
||||||
__asm__ volatile( "0: \
|
__asm__ volatile( "0: \
|
||||||
|
|||||||
Reference in New Issue
Block a user