mirror of
https://github.com/janishutz/mqtt-remote-gpio.git
synced 2026-10-09 05:06:21 +02:00
fix: compile error
This commit is contained in:
1 parent
d69d6f0c2d
commit
788be33dc9
1 file changed
+1
-1
+1
-1
@@ -133,7 +133,7 @@ impl GPIOController {
|
|||||||
.expect("Failed to load pins data");
|
.expect("Failed to load pins data");
|
||||||
println!("Hello World, pin {}", pin.id);
|
println!("Hello World, pin {}", pin.id);
|
||||||
let mut instr = "".to_string();
|
let mut instr = "".to_string();
|
||||||
for char in instruction.payload {
|
for char in &instruction.payload {
|
||||||
instr.push_str(&char.to_string())
|
instr.push_str(&char.to_string())
|
||||||
}
|
}
|
||||||
println!("{}", instr);
|
println!("{}", instr);
|
||||||
|
|||||||
Reference in new issue
Block a user