Changeset 315 for soft/giet_vm
- Timestamp:
- Jun 8, 2014, 11:45:17 AM (10 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_common/utils.c
r314 r315 532 532 533 533 // write one byte 534 if ( string[n] == '\n') { 535 _tty_set_register( 0, TTY_WRITE, (unsigned int)'\r' ); 536 } 534 537 _tty_set_register( 0, TTY_WRITE, (unsigned int)string[n] ); 535 538 n++; -
soft/giet_vm/giet_drivers/tty_driver.c
r313 r315 104 104 105 105 // write one byte 106 if (buffer[nwritten] == '\n') { 107 _tty_set_register( channel, TTY_WRITE, (unsigned int)'\r' ); 108 } 106 109 _tty_set_register( channel, TTY_WRITE, (unsigned int)buffer[nwritten] ); 107 110 }
Note: See TracChangeset
for help on using the changeset viewer.