forked from M-Labs/artiq
1
0
Fork 0

firmware: use consistent terminology

This commit is contained in:
Sebastien Bourdeauducq 2019-01-09 13:46:18 +08:00
parent b3b0b6f0a5
commit 62599c5f91
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ pub const INVALID_HOP: u8 = 0xff;
pub struct RoutingTable(pub [[u8; MAX_HOPS]; DEST_COUNT]);
impl RoutingTable {
// default routing table is for star topology with no hops
// default routing table is for star topology with no repeaters
pub fn default_master(default_n_links: usize) -> RoutingTable {
let mut ret = RoutingTable([[INVALID_HOP; MAX_HOPS]; DEST_COUNT]);
let n_entries = default_n_links + 1; // include local RTIO