Преглед изворни кода

Disable the MQTT connection

Bernd Gottschlag пре 5 година
родитељ
комит
dcd6ee4e24
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3
    3
      base-station/software/src/main.rs

+ 3
- 3
base-station/software/src/main.rs Прегледај датотеку

@@ -28,9 +28,9 @@ fn main() {
28 28
     // to reconnect.
29 29
     loop {
30 30
         // TODO: Pass events from ratio to mqtt connection.
31
-        if let Err(e) = run_mqtt_connection(&sensor_recv) {
32
-            error!("MQTT error: {:?}", e);
33
-        }
31
+        //     if let Err(e) = run_mqtt_connection(&sensor_recv) {
32
+        //         error!("MQTT error: {:?}", e);
33
+        //     }
34 34
         sleep(Duration::from_secs(3));
35 35
     }
36 36
 }

Loading…
Откажи
Сачувај