[PATCH 11/19] libchip/network/if_fxp.c: Do not use rtems_clock_get()
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Mar 16 20:29:28 UTC 2015
---
c/src/libchip/network/if_fxp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/src/libchip/network/if_fxp.c b/c/src/libchip/network/if_fxp.c
index 6bcbd8b..9d223bb 100644
--- a/c/src/libchip/network/if_fxp.c
+++ b/c/src/libchip/network/if_fxp.c
@@ -415,7 +415,7 @@ rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
/*
* Set up some timing values
*/
- rtems_clock_get(RTEMS_CLOCK_GET_TICKS_PER_SECOND, &fxp_ticksPerSecond);
+ fxp_ticksPerSecond = rtems_clock_get_ticks_per_second();
DBGLVL_PRINTK(1,"fxp_attach called\n");
/*
--
1.9.3
More information about the devel
mailing list