|
@@ -1653,13 +1653,13 @@ int parseDtu(char *json_string)
|
|
|
else if(strstr(type->valuestring,"insect_kill")!=RT_NULL)
|
|
else if(strstr(type->valuestring,"insect_kill")!=RT_NULL)
|
|
|
{
|
|
{
|
|
|
timer_shibie_stop();
|
|
timer_shibie_stop();
|
|
|
- device_status.autotakepic = 11;
|
|
|
|
|
|
|
+ device_status.autotakepic = 10;
|
|
|
LOG_W("收到害虫信号!");
|
|
LOG_W("收到害虫信号!");
|
|
|
}
|
|
}
|
|
|
else if(strstr(type->valuestring,"insect_save")!=RT_NULL)
|
|
else if(strstr(type->valuestring,"insect_save")!=RT_NULL)
|
|
|
{
|
|
{
|
|
|
timer_shibie_stop();
|
|
timer_shibie_stop();
|
|
|
- device_status.autotakepic = 10;
|
|
|
|
|
|
|
+ device_status.autotakepic = 11;
|
|
|
LOG_W("收到益虫信号!");
|
|
LOG_W("收到益虫信号!");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|