fix another problem related to reading ports
This commit is contained in:
parent
c4e03234a9
commit
da41633ced
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ impl VirtualPort{
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub const fn get_port_number(self) -> u8 {
|
pub const fn get_port_number(self) -> u8 {
|
||||||
(self.0 & 0xF0)
|
(self.0 & 0x0F)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue