From 108d1c61c3ef35078a7949ed157c778a762c69b5 Mon Sep 17 00:00:00 2001 From: oohashiY <39191897+oohashiY@users.noreply.github.com> Date: Fri, 19 Sep 2025 18:11:45 +0900 Subject: [PATCH] fix: set_collision_detection_threshold --- toio/cube/api/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toio/cube/api/configuration.py b/toio/cube/api/configuration.py index aa4a294..401f4a3 100644 --- a/toio/cube/api/configuration.py +++ b/toio/cube/api/configuration.py @@ -758,7 +758,7 @@ async def set_collision_detection_threshold(self, threshold: int) -> None: References: https://toio.github.io/toio-spec/en/docs/ble_configuration#collision-detection-threshold-settings """ - command = SetHorizontalDetectionThreshold(threshold) + command = SetCollisionDetectionThreshold(threshold) await self._write(bytes(command)) async def set_double_tap_detection_threshold(self, threshold: int) -> None: