diff --git a/lms_bridge/src/bridge.rs b/lms_bridge/src/bridge.rs index b0f0205..2b0df2f 100644 --- a/lms_bridge/src/bridge.rs +++ b/lms_bridge/src/bridge.rs @@ -24,8 +24,6 @@ impl Bridge { } pub fn handle_message(self: &mut Self, msg: &WsMessage) { - println!("Received message: {:?}", msg); - match msg { WsMessage::AddController { id, @@ -53,7 +51,6 @@ impl Bridge { self.controllers.remove(id); } WsMessage::CallController { id, message } => { - println!("Calling controller: {} with message: {}", id, message); if let Some(tx) = self.controllers.get(id) { let _ = tx.send(BridgeToControllerMessage::Message(message.to_owned())); } else { diff --git a/lms_bridge/src/controllers/dmx_controller.rs b/lms_bridge/src/controllers/dmx_controller.rs index d705d60..d4c6663 100644 --- a/lms_bridge/src/controllers/dmx_controller.rs +++ b/lms_bridge/src/controllers/dmx_controller.rs @@ -53,7 +53,6 @@ impl DmxController { } } DmxControllerMessage::Data(data) => { - println!("Sending data: {:?}", data); if let Some(ref mut port) = self.serialport { let _ = port.write(&data.data[..]); }; @@ -79,7 +78,6 @@ impl Controller for DmxController { match self.rx.recv() { Ok(msg) => match msg { BridgeToControllerMessage::Message(str_message) => { - println!("Received message: {}", str_message); let parsed_message: DmxControllerMessage = serde_json::from_str(&str_message).unwrap(); self.handle_message(parsed_message); diff --git a/lms_bridge/src/controllers/wled_controller.rs b/lms_bridge/src/controllers/wled_controller.rs index 53d7019..84e2bd2 100644 --- a/lms_bridge/src/controllers/wled_controller.rs +++ b/lms_bridge/src/controllers/wled_controller.rs @@ -45,7 +45,6 @@ impl WledController { self.port = configuration.port; } WledControllerMessage::Data(data) => { - println!("Sending data: {:?}", data); let Some(ref socket) = self.socket else { return; }; @@ -76,7 +75,6 @@ impl Controller for WledController { match self.rx.recv() { Ok(msg) => match msg { BridgeToControllerMessage::Message(str_message) => { - println!("Received message: {}", str_message); let parsed_message: WledControllerMessage = serde_json::from_str(&str_message).unwrap(); self.handle_message(parsed_message); diff --git a/src/stage/controllers/dmx/dmx.controller.ts b/src/stage/controllers/dmx/dmx.controller.ts index f482721..c0eb7cc 100644 --- a/src/stage/controllers/dmx/dmx.controller.ts +++ b/src/stage/controllers/dmx/dmx.controller.ts @@ -61,7 +61,7 @@ export class DmxController extends BaseController