Changeset 1043 for trunk/softs
- Timestamp:
- May 19, 2016, 5:48:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/drivers/reset_tty.c
r1042 r1043 37 37 void reset_putc(const char c) 38 38 { 39 iowrite32( &tty_address[TTY_WRITE], (unsigned int)c ); 39 if (c == '\n') 40 { 41 iowrite32(&tty_address[TTY_WRITE], (unsigned int) '\r'); 42 } 43 iowrite32(&tty_address[TTY_WRITE], (unsigned int) c); 40 44 } 41 45
Note: See TracChangeset
for help on using the changeset viewer.