[rtems commit] mcf5206elite/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts

Joel Sherrill joel at rtems.org
Fri Nov 10 20:41:01 UTC 2017


Module:    rtems
Branch:    master
Commit:    cba8970e808215fcca59b3dd0f97aed4cb8c52d1
Changeset: http://git.rtems.org/rtems/commit/?id=cba8970e808215fcca59b3dd0f97aed4cb8c52d1

Author:    Joel Sherrill <joel at rtems.org>
Date:      Fri Nov 10 14:23:05 2017 -0600

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

---

 c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
index 1bbb6cf..47c7e8c 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
@@ -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: \




More information about the vc mailing list