瀏覽代碼

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…
取消
儲存