diff options
author | Bad Diode <bd@badd10de.dev> | 2021-09-09 09:43:26 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-09-09 09:43:26 +0200 |
commit | 05589c7cefdb554876db97ded9370e353d0ec0b1 (patch) | |
tree | 5c39ab83a39404ea18d301a6adfdbc17648b98a3 | |
parent | f344c83420d43193fd630012613a04085f4b1918 (diff) | |
download | uxnrpi-05589c7cefdb554876db97ded9370e353d0ec0b1.tar.gz uxnrpi-05589c7cefdb554876db97ded9370e353d0ec0b1.zip |
Fix uart_puts before uart_init. Thanks alderwick!
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -121,8 +121,9 @@ file_talk(Device *d, u8 b0, u8 w) { | |||
121 | 121 | ||
122 | void | 122 | void |
123 | init_uxn() { | 123 | init_uxn() { |
124 | uart_puts("Initializing UXN.\n"); | ||
125 | uart_init(); | 124 | uart_init(); |
125 | |||
126 | uart_puts("Initializing UXN.\n"); | ||
126 | ppu_init(&ppu, SCREEN_WIDTH / 8, SCREEN_HEIGHT / 8); | 127 | ppu_init(&ppu, SCREEN_WIDTH / 8, SCREEN_HEIGHT / 8); |
127 | 128 | ||
128 | // Copy rom to VM. | 129 | // Copy rom to VM. |