Commit 6df46c9
committed
refactor: call set_stdout_nonblocking() inside setup_serial_device()
We always called it right before setup_serial_device(), so just move the
call inside. This will also be helpful once setup_serial_device() can
setup the serial device to print to a file, where we dont need to mess
with stdout in the first place.
Signed-off-by: Patrick Roy <[email protected]>1 parent 13eff4e commit 6df46c9
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | | - | |
144 | | - | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
258 | 256 | | |
259 | 257 | | |
260 | 258 | | |
| |||
0 commit comments