From e408a8b22d633a7e1d5e8f3f27b0770b63bbc2b7 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 29 Jul 2020 21:29:28 +0200 Subject: [PATCH] eth::phy::extended_status: fix cap_1000base_x_full() bit position --- libboard_zynq/src/eth/phy/extended_status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libboard_zynq/src/eth/phy/extended_status.rs b/libboard_zynq/src/eth/phy/extended_status.rs index abf2d7a..b6c132b 100644 --- a/libboard_zynq/src/eth/phy/extended_status.rs +++ b/libboard_zynq/src/eth/phy/extended_status.rs @@ -16,7 +16,7 @@ impl ExtendedStatus { self.0.get_bit(14) } pub fn cap_1000base_x_full(&self) -> bool { - self.0.get_bit(12) + self.0.get_bit(15) } pub fn get_link(&self) -> Option {