2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

satman: fix rank setting

This commit is contained in:
Sebastien Bourdeauducq 2018-09-11 20:04:51 +08:00
parent 2679a35082
commit e6bd835b5d

View File

@ -74,7 +74,7 @@ impl Repeater {
self.state = RepeaterState::Failed;
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);
self.state = RepeaterState::Failed;
return;