From c1479edf5b25d38e9371f2ea8f07ea67065fef1a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 14 Mar 2015 10:59:52 -0500 Subject: [PATCH] powerpc/shared/flash/intelFlash.c: Do not use rtems_clock_get() --- 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 10eb6657c0..9e949e75d2 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 #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