Skip to content

Commit b632d8d

Browse files
committed
Removed redundant code in serial_api
1 parent 83e065d commit b632d8d

File tree

1 file changed

+0
-6
lines changed
  • libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX

1 file changed

+0
-6
lines changed

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX/serial_api.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,6 @@ int serial_getc(serial_t *obj) {
249249
void serial_putc(serial_t *obj, int c) {
250250
while (!serial_writable(obj));
251251
obj->uart->THR = c;
252-
253-
#warning TODO(@toyowata): need to fix a full-duplex bug? https://mbed.org/forum/bugs-suggestions/topic/4473/
254-
uint32_t lsr = obj->uart->LSR;
255-
lsr = lsr;
256-
uint32_t thr = obj->uart->THR;
257-
thr = thr;
258252
}
259253

260254
int serial_readable(serial_t *obj) {

0 commit comments

Comments
 (0)