添加渐变时长为0的时候无法进行保存导致升级后灯打开的问题
This commit is contained in:
@ -123,7 +123,6 @@ int myhandle_put_switch(const char* svc_id, const char* payload, unsigned int le
|
||||
}
|
||||
|
||||
bool on = (item->valueint != 0);
|
||||
g_device_control.on = on;
|
||||
ret = set_switch(on);
|
||||
|
||||
cJSON_Delete(json);
|
||||
|
Reference in New Issue
Block a user