Compare commits
2 commits
a14f3aa0d5
...
f935948402
Author | SHA1 | Date | |
---|---|---|---|
|
f935948402 | ||
|
eea9c75c21 |
3 changed files with 12 additions and 2 deletions
|
@ -404,7 +404,7 @@ var tr = document.createElement("tr");
|
|||
var tdHour = createSelectCell(23, 0, 1);
|
||||
tdHour.id = "hour" + i;
|
||||
tr.appendChild(tdHour);
|
||||
var tdMinute = createSelectCell(59, 0, 1);
|
||||
var tdMinute = createSelectCell(59, 0, 10);
|
||||
tdMinute.id = "minute" + i;
|
||||
tr.appendChild(tdMinute);
|
||||
for (var j = 1; j <=4; j++)
|
||||
|
|
|
@ -479,7 +479,7 @@ function createTable() {
|
|||
tr.appendChild(tdHour);
|
||||
|
||||
// Minute
|
||||
var tdMinute = createSelectCell(59, 0, 1);
|
||||
var tdMinute = createSelectCell(59, 0, 10);
|
||||
tdMinute.id = "minute" + i;
|
||||
tr.appendChild(tdMinute);
|
||||
|
||||
|
|
|
@ -165,6 +165,16 @@ void tc_update_main()
|
|||
{
|
||||
// no new predecessor or successor found, start over
|
||||
current_target_data_block = 255;
|
||||
|
||||
// disable the lights
|
||||
for (uint8_t i = 0; i < LIGHTS_COUNT; i++)
|
||||
{
|
||||
light_state[i] = false;
|
||||
bri[i] = 0;
|
||||
current_bri[i] = 0;
|
||||
current_pwm[i] = 0;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue