fix another problem related to reading ports

This commit is contained in:
DJMrTV 2025-01-19 19:05:32 +01:00
commit da41633ced

View file

@ -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]