diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/LPC111x/serial_lld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/LPC111x/serial_lld.c b/os/hal/platforms/LPC111x/serial_lld.c index f0990b671..f3e7d5e31 100644 --- a/os/hal/platforms/LPC111x/serial_lld.c +++ b/os/hal/platforms/LPC111x/serial_lld.c @@ -233,6 +233,8 @@ void sd_lld_init(void) { #if USE_LPC111x_UART0
sdObjectInit(&SD1, NULL, notify1);
SD1.uart = LPC_UART;
+ LPC_IOCON->PIO0_6 = 0xC1; /* RDX without resistors. */
+ LPC_IOCON->PIO0_7 = 0xC1; /* TDX without resistors. */
#endif
}
|