(device: SerioDevice, bytes: &Vector<u8>)
| 428 | } |
| 429 | |
| 430 | pub fn serial_write_vec(device: SerioDevice, bytes: &Vector<u8>) { |
| 431 | let uart = get_uart_interface(device); |
| 432 | for byte in bytes.into_iter() { |
| 433 | uart.write(&[byte]); |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | pub fn serial_write_str(device: SerioDevice, bytes: &mut Str) { |
| 438 | let uart = get_uart_interface(device); |
nothing calls this directly
no test coverage detected