From e6bd835b5d713f9d57e4da39aa22736ec389d2d9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 11 Sep 2018 20:04:51 +0800 Subject: [PATCH] satman: fix rank setting --- artiq/firmware/satman/repeater.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/satman/repeater.rs b/artiq/firmware/satman/repeater.rs index 4c2dd7287..052fe47ad 100644 --- a/artiq/firmware/satman/repeater.rs +++ b/artiq/firmware/satman/repeater.rs @@ -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;