forked from M-Labs/zynq-rs
eth::phy::extended_status: fix cap_1000base_x_full() bit position
This commit is contained in:
parent
27effb6257
commit
e408a8b22d
@ -16,7 +16,7 @@ impl ExtendedStatus {
|
|||||||
self.0.get_bit(14)
|
self.0.get_bit(14)
|
||||||
}
|
}
|
||||||
pub fn cap_1000base_x_full(&self) -> bool {
|
pub fn cap_1000base_x_full(&self) -> bool {
|
||||||
self.0.get_bit(12)
|
self.0.get_bit(15)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_link(&self) -> Option<Link> {
|
pub fn get_link(&self) -> Option<Link> {
|
||||||
|
Loading…
Reference in New Issue
Block a user