[PATCH 17/19] powerpc/shared/flash/intelFlash.c: Eliminate use of deprecated method
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Mar 16 20:29:34 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 9e949e7..0d2fa92 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) p = rtems_clock_get_ticks_per_second()
+#define CLOCKRATE_GET(p) *p = rtems_clock_get_ticks_per_second()
#endif
--
1.9.3
More information about the devel
mailing list