aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-03 13:12:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-03 13:12:48 +0000
commitad66afdb635c67a3e589ba746d5ace4c4fc6d23a (patch)
tree206d514812269c681ac62bd55459bc17f1fedd23 /os/hal/platforms
parent220341765d0934143787dcdf0dfa40577059f884 (diff)
downloadChibiOS-ad66afdb635c67a3e589ba746d5ace4c4fc6d23a.tar.gz
ChibiOS-ad66afdb635c67a3e589ba746d5ace4c4fc6d23a.tar.bz2
ChibiOS-ad66afdb635c67a3e589ba746d5ace4c4fc6d23a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1838 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/LPC111x/serial_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/LPC111x/serial_lld.c b/os/hal/platforms/LPC111x/serial_lld.c
index 369b543b3..7ef7608e3 100644
--- a/os/hal/platforms/LPC111x/serial_lld.c
+++ b/os/hal/platforms/LPC111x/serial_lld.c
@@ -251,7 +251,7 @@ void sd_lld_start(SerialDriver *sdp) {
if (sdp->state == SD_STOP) {
#if USE_LPC111x_UART0
if (&SD1 == sdp) {
- LPC_SYSCON->SYSAHBCLKCTRL |= (1 << 12);
+ LPC_SYSCON->SYSAHBCLKCTRL |= (1 << 11);
NVICEnableVector(UART_IRQn,
CORTEX_PRIORITY_MASK(LPC111x_UART0_PRIORITY));
}
@@ -273,7 +273,7 @@ void sd_lld_stop(SerialDriver *sdp) {
uart_deinit(sdp->uart);
#if USE_LPC111x_UART0
if (&SD1 == sdp) {
- LPC_SYSCON->SYSAHBCLKCTRL &= ~(1 << 12);
+ LPC_SYSCON->SYSAHBCLKCTRL &= ~(1 << 11);
NVICDisableVector(UART_IRQn);
return;
}