mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
main: update syncstatus more frequently
This commit is contained in:
parent
35466f0396
commit
ef2997206b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user