This commit is contained in:
Martin Brodbeck 2023-10-04 11:21:31 +02:00
parent 7de08061f2
commit 7d60561f63

View file

@ -15,7 +15,8 @@ fn strip_header(msg: &[u8]) -> Vec<u8> {
} }
fn mopp(speed: u8, data: &[u8]) -> Vec<u8> { fn mopp(speed: u8, data: &[u8]) -> Vec<u8> {
let serial = 1u8; let serial = 1u8; // Currently not really used
let morse = HashMap::from([ let morse = HashMap::from([
(b'0', "-----"), (b'0', "-----"),
(b'1', ".----"), (b'1', ".----"),