Ver código fonte

Disable the MQTT connection

Bernd Gottschlag 5 anos atrás
pai
commit
dcd6ee4e24
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3
    3
      base-station/software/src/main.rs

+ 3
- 3
base-station/software/src/main.rs Ver arquivo

@@ -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
 }

Carregando…
Cancelar
Salvar