[bugfix] controller.py: fix typo mic/speaker, error messages.
This commit is contained in:
@@ -150,7 +150,7 @@ class Controller:
|
|||||||
400,
|
400,
|
||||||
self.run_mapping["error_device"],
|
self.run_mapping["error_device"],
|
||||||
{
|
{
|
||||||
"message":"No mic device detected",
|
"message":"No Speaker device detected",
|
||||||
"data": None
|
"data": None
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
@@ -777,7 +777,7 @@ class Controller:
|
|||||||
response = {
|
response = {
|
||||||
"status":400,
|
"status":400,
|
||||||
"result":{
|
"result":{
|
||||||
"message":"Speaker energy threshold value is out of range",
|
"message":"Mic energy threshold value is out of range",
|
||||||
"data": config.MIC_THRESHOLD
|
"data": config.MIC_THRESHOLD
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user