From f5b386c0d8734284b73ead2e0c3290ef8c099d37 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 11 Sep 2018 18:22:45 +0800 Subject: [PATCH] firmware: fix routing table formatting --- artiq/firmware/libboard_artiq/drtio_routing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_artiq/drtio_routing.rs b/artiq/firmware/libboard_artiq/drtio_routing.rs index c0242aeb7..d3a7bcea7 100644 --- a/artiq/firmware/libboard_artiq/drtio_routing.rs +++ b/artiq/firmware/libboard_artiq/drtio_routing.rs @@ -32,7 +32,7 @@ impl fmt::Display for RoutingTable { write!(f, "RoutingTable {{")?; for i in 0..DEST_COUNT { if self.0[i][0] != INVALID_HOP { - write!(f, "{}:", i)?; + write!(f, " {}:", i)?; for j in 0..MAX_HOPS { if self.0[i][j] == INVALID_HOP { break;