mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-19 16:33:20 +08:00
修改按键配置相关的代码
This commit is contained in:
@@ -226,7 +226,7 @@ static int HttpSetShortClickEvent(httpd_request_t *req) {
|
||||
int index;
|
||||
int func;
|
||||
sscanf(buf, "%d %d", &index, &func);
|
||||
user_config->user[index + 1] = func;
|
||||
set_key_map(index + 1,func, get_long_func(index + 1));
|
||||
mico_system_context_update(sys_config);
|
||||
|
||||
send_http("OK", 2, exit, &err);
|
||||
|
||||
Reference in New Issue
Block a user