Interrupt handler
()
| 95 | |
| 96 | // Interrupt handler |
| 97 | fn intrh() |
| 98 | { |
| 99 | let b = SER.lock().port.receive(); |
| 100 | let c = match b as char |
| 101 | { |
| 102 | '\r' => '\n', |
| 103 | '\x7F' => '\x08', |
| 104 | c => c, |
| 105 | }; |
| 106 | |
| 107 | crate::sys::console::keyhandler(c); |
| 108 | } |
| 109 | |
| 110 | |
| 111 | // Print formatting |
nothing calls this directly
no test coverage detected