mirror of
https://github.com/janishutz/mqtt-remote-gpio.git
synced 2026-10-09 05:06:21 +02:00
fix: remove import, improve code quality
This commit is contained in:
1 parent
cf50df31c5
commit
55d9aec4f2
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -38,7 +38,7 @@ pub fn handler(config: Config) {
|
||||
&topic.topic,
|
||||
QoS::AtLeastOnce,
|
||||
false,
|
||||
vec![read_pin(&mut topic.gpio); 1],
|
||||
vec![read_pin(&mut topic.gpio)],
|
||||
)
|
||||
.unwrap_or_default();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user