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

This commit is contained in:
Joel Sherrill
2017-11-10 14:22:40 -06:00
parent 6f3fb8a547
commit 52841b5800

View File

@@ -138,7 +138,7 @@ extern int rtems_enet_driver_attach (struct rtems_bsdnet_ifconfig *config);
* 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: \