Update README.md

This commit is contained in:
Andre Richter 2019-10-21 22:17:34 +02:00 committed by Andre Richter
parent 451055ebee
commit 87797cec8f
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

View File

@ -8,9 +8,7 @@ use it to annotate prints with timestamps; A `warn!()` macro is added.
Check it out via chainboot (added in previous tutorial):
```console
make chainboot
[...]
### Listening on /dev/ttyUSB0
__ __ _ _ _ _
| \/ (_)_ _ (_) | ___ __ _ __| |
@ -239,7 +237,8 @@ diff -uNr 07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs 08_timest
+ let mut ret = inner.DR.get() as u8 as char;
+
+ // Convert carrige return to newline.
+ if ret == ' ' {
+ if ret == '
' {
+ ret = '
'
+ }