From d2f42527f4e4ffcee817612c1ceb9483314f84ff Mon Sep 17 00:00:00 2001 From: Terrence Date: Tue, 20 May 2025 09:23:07 +0800 Subject: [PATCH] fix: iot screen invalid iot descriptor --- main/iot/things/screen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/iot/things/screen.cc b/main/iot/things/screen.cc index 683365dd..c266221a 100644 --- a/main/iot/things/screen.cc +++ b/main/iot/things/screen.cc @@ -28,7 +28,7 @@ public: // 定义设备可以被远程执行的指令 methods_.AddMethod("set_theme", "Set the screen theme", ParameterList({ - Parameter("theme_name", "Valid string values are \"light\" and \"dark\"", kValueTypeString, true) + Parameter("theme_name", "Valid string values are 'light' and 'dark'", kValueTypeString, true) }), [this](const ParameterList& parameters) { std::string theme_name = static_cast(parameters["theme_name"].string()); auto display = Board::GetInstance().GetDisplay();