This commit is contained in:
QuantumEntangledAndy committed 2023-06-08 13:40:58 +07:00
1 parent 15bf7cfa49
commit 4f0169ef8f
1 file changed
+3 -1
+3 -1
View File
@@ -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,