修改按键配置相关的代码

This commit is contained in:
nhkefus
2025-03-21 16:02:34 +08:00
parent 2d34767cde
commit 56c9923336
5 changed files with 196 additions and 66 deletions

View File

@@ -68,10 +68,10 @@
'socketNames':'%s',\
'child_lock_enabled':%d,\
'deviceName':'%s',\
'shortClicks':'%s'\
'btnClicks':'%s'\
}"
#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d,'total_switch_on':%d,'socketNames':'%s','p_count_1_day_ago':%d,'p_count_2_days_ago':%d,'child_lock_enabled':%d,'deviceName':'%s','shortClicks':'%s'}"
#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d,'total_switch_on':%d,'socketNames':'%s','p_count_1_day_ago':%d,'p_count_2_days_ago':%d,'child_lock_enabled':%d,'deviceName':'%s','btnClicks':'%s'}"
int AppHttpdStart(void);