浏览代码

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
     // to reconnect.
28
     // to reconnect.
29
     loop {
29
     loop {
30
         // TODO: Pass events from ratio to mqtt connection.
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
         sleep(Duration::from_secs(3));
34
         sleep(Duration::from_secs(3));
35
     }
35
     }
36
 }
36
 }

正在加载...
取消
保存