Fix wrong remove_data_path arguments

This commit is contained in:
Josh Wu
2025-05-21 00:08:43 +08:00
parent 3b399ea1a2
commit a875aa4055
2 changed files with 5 additions and 3 deletions

View File

@@ -516,7 +516,7 @@ class AseStateMachine(gatt.Characteristic):
async def remove_cis_async():
if self.cis_link:
await self.cis_link.remove_data_path(self.role)
await self.cis_link.remove_data_path([self.role])
self.state = self.State.IDLE
await self.service.device.notify_subscribers(self, self.value)