main: update syncstatus more frequently

This commit is contained in:
Thomas Schoebel-Theuer 2021-02-06 14:16:22 +01:00
parent 35466f0396
commit ef2997206b
1 changed files with 1 additions and 0 deletions

View File

@ -6153,6 +6153,7 @@ int update_syncstatus(struct mars_brick *_copy, bool switch_on, void *private)
if (copy &&
((copy->power.button && copy->power.led_on) ||
!copy->copy_start ||
(copy->copy_last > copy->copy_start) ||
(copy->copy_last == copy->copy_end && copy->copy_end > 0))) {
status = _update_syncstatus(cc->rot, copy, cc->peer);
}