[rtems commit] bsp/lpc24xx: Use proper clock value

Sebastian Huber sebh at rtems.org
Sat Mar 24 15:54:04 UTC 2012


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Sat Mar 24 16:59:25 2012 +0100

bsp/lpc24xx: Use proper clock value

---

 c/src/lib/libbsp/arm/lpc24xx/misc/io.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/arm/lpc24xx/misc/io.c b/c/src/lib/libbsp/arm/lpc24xx/misc/io.c
index dce26c5..1141b71 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/misc/io.c
+++ b/c/src/lib/libbsp/arm/lpc24xx/misc/io.c
@@ -320,7 +320,11 @@ rtems_status_code lpc24xx_module_disable(
   lpc24xx_module module
 )
 {
-  return lpc24xx_module_do_enable(module, 0U, false);
+  return lpc24xx_module_do_enable(
+    module,
+    LPC24XX_MODULE_PCLK_DEFAULT,
+    false
+  );
 }
 
 typedef rtems_status_code (*lpc24xx_pin_visitor)(




More information about the vc mailing list