From 757acda337b70170963b658cdcf6c0e0b7b605ba Mon Sep 17 00:00:00 2001 From: Manglemix Date: Fri, 3 May 2024 19:31:49 -0600 Subject: [PATCH] fix --- lunabotics/lunabot/src/telemetry.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lunabotics/lunabot/src/telemetry.rs b/lunabotics/lunabot/src/telemetry.rs index 871804d..a2d2593 100644 --- a/lunabotics/lunabot/src/telemetry.rs +++ b/lunabotics/lunabot/src/telemetry.rs @@ -291,6 +291,9 @@ impl AsyncNode for Telemetry { } }; let mut current_camera_index = self.camera_index.load(Ordering::Relaxed); + if self.camera_count == 0 { + continue; + } match msg { CameraMessage::NextCamera => {