forked from M-Labs/artiq
satman: fix rank setting
This commit is contained in:
parent
2679a35082
commit
e6bd835b5d
|
@ -74,7 +74,7 @@ impl Repeater {
|
||||||
self.state = RepeaterState::Failed;
|
self.state = RepeaterState::Failed;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if let Err(e) = self.set_rank(rank) {
|
if let Err(e) = self.set_rank(rank + 1) {
|
||||||
error!("[REP#{}] failed to sync TSC ({})", self.repno, e);
|
error!("[REP#{}] failed to sync TSC ({})", self.repno, e);
|
||||||
self.state = RepeaterState::Failed;
|
self.state = RepeaterState::Failed;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue