forked from M-Labs/artiq
1
0
Fork 0

satman: fix rank setting

This commit is contained in:
Sebastien Bourdeauducq 2018-09-11 20:04:51 +08:00
parent 2679a35082
commit e6bd835b5d
1 changed files with 1 additions and 1 deletions

View File

@ -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;