소스 검색

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…
취소
저장