[bugfix] controller.py: fix typo mic/speaker, error messages.

This commit is contained in:
Sakamoto Shiina
2025-03-16 10:44:01 +09:00
parent 371d2ed5b2
commit 84a116291c

View File

@@ -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
}
}