comment added
This commit is contained in:
parent
5d15a2b56b
commit
252bd32ffb
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ fn mopp(speed: u8, data: &[u8]) -> Vec<u8> {
|
||||||
(b'\'', ".----."),
|
(b'\'', ".----."),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
let mut m = "01".to_owned(); // protocol version
|
let mut m = "01".to_owned(); // protocol version 1
|
||||||
m.push_str(&format!("{:06b}", serial));
|
m.push_str(&format!("{:06b}", serial));
|
||||||
m.push_str(&format!("{:06b}", speed));
|
m.push_str(&format!("{:06b}", speed));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue