mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
up
This commit is contained in:
@@ -503,6 +503,10 @@ function AddTimedTask() {
|
||||
var idx = document.getElementById("task_skt_idx").value;
|
||||
var on = document.getElementById("task_on").value;
|
||||
|
||||
if (tim == null || tim == "" || tim.length != 10) {
|
||||
alert("task time invalid!");
|
||||
return;
|
||||
}
|
||||
var prs_time = Math.round(new Date(tim) / 1000);
|
||||
//prs_time = prs_time + parseInt(sec);
|
||||
var cmd = prs_time + " " + idx + " " + on;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -179,7 +179,7 @@ int application_start(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
os_log("timed task count[%u]", task_count);
|
||||
//os_log("timed task count[%u]", task_count);
|
||||
}
|
||||
mico_thread_msleep(1000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user