mirror of
https://github.com/janishutz/mqtt-remote-gpio.git
synced 2026-10-08 20:56:22 +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");
|
||||
println!("Hello World, pin {}", pin.id);
|
||||
let mut instr = "".to_string();
|
||||
for char in instruction.payload {
|
||||
for char in &instruction.payload {
|
||||
instr.push_str(&char.to_string())
|
||||
}
|
||||
println!("{}", instr);
|
||||
|
||||
Reference in new issue
Block a user