diff --git a/crates/core/src/bc_protocol/ptz.rs b/crates/core/src/bc_protocol/ptz.rs index 62a6bfd..ccbcf93 100644 --- a/crates/core/src/bc_protocol/ptz.rs +++ b/crates/core/src/bc_protocol/ptz.rs @@ -193,7 +193,9 @@ impl BcCamera { self.has_ability_rw("control").await?; let connection = self.get_connection(); let msg_num = self.new_message_num(); - let mut sub_set = connection.subscribe(MSG_ID_PTZ_CONTROL_PRESET, msg_num).await?; + let mut sub_set = connection + .subscribe(MSG_ID_PTZ_CONTROL_PRESET, msg_num) + .await?; let preset = Preset { id: preset_id,