mcf5206elite/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts

This commit is contained in:
Joel Sherrill
2017-11-10 14:23:05 -06:00
parent 52841b5800
commit cba8970e80

View File

@@ -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.
*/
#define delay( microseconds ) \
#define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
__asm__ volatile( "0: \