[PATCH 08/19] powerpc/shared/flash/intelFlash.c: Do not use rtems_clock_get()
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Mar 16 20:29:25 UTC 2015
---
c/src/lib/libbsp/powerpc/shared/flash/intelFlash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/powerpc/shared/flash/intelFlash.c b/c/src/lib/libbsp/powerpc/shared/flash/intelFlash.c
index 10eb665..9e949e7 100644
--- a/c/src/lib/libbsp/powerpc/shared/flash/intelFlash.c
+++ b/c/src/lib/libbsp/powerpc/shared/flash/intelFlash.c
@@ -62,7 +62,7 @@
#include <rtems.h>
#define TIMEOUT_US 1000
-#define CLOCKRATE_GET(p) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, p )
+#define CLOCKRATE_GET(p) p = rtems_clock_get_ticks_per_second()
#endif
--
1.9.3
More information about the devel
mailing list