From 84a116291c4f5722392d657b3caab93029e6827d Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Sun, 16 Mar 2025 10:44:01 +0900 Subject: [PATCH] [bugfix] controller.py: fix typo mic/speaker, error messages. --- src-python/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-python/controller.py b/src-python/controller.py index bb94bf26..f0356287 100644 --- a/src-python/controller.py +++ b/src-python/controller.py @@ -150,7 +150,7 @@ class Controller: 400, self.run_mapping["error_device"], { - "message":"No mic device detected", + "message":"No Speaker device detected", "data": None }, ) @@ -777,7 +777,7 @@ class Controller: response = { "status":400, "result":{ - "message":"Speaker energy threshold value is out of range", + "message":"Mic energy threshold value is out of range", "data": config.MIC_THRESHOLD } }