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
5ab9056b55
commit
d69d6f0c2d
1 file changed
+1
-1
+1
-1
@@ -136,7 +136,7 @@ impl GPIOController {
|
|||||||
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);
|
||||||
if pin.off_timeout > 0 {
|
if pin.off_timeout > 0 {
|
||||||
self.timeout_topics
|
self.timeout_topics
|
||||||
.push((pin.topic.clone(), SystemTime::now(), pin.off_timeout));
|
.push((pin.topic.clone(), SystemTime::now(), pin.off_timeout));
|
||||||
|
|||||||
Reference in new issue
Block a user