comment added

This commit is contained in:
Martin Brodbeck 2023-10-03 22:11:42 +02:00
parent dedc2d8ff9
commit 26b8675374

View file

@ -66,7 +66,7 @@ fn mopp(speed: u8, data: &[u8]) -> Vec<u8> {
(b'\'', ".----."), (b'\'', ".----."),
]); ]);
let mut m = "01".to_owned(); let mut m = "01".to_owned(); // protocol version
m.push_str(&format!("{:06b}", serial)); m.push_str(&format!("{:06b}", serial));
m.push_str(&format!("{:06b}", speed)); m.push_str(&format!("{:06b}", speed));