get rid of unneded uselees backplane window check

This commit is contained in:
Brandon Ros 2023-08-22 18:57:43 -04:00
parent 3c487fbbb4
commit 60ac9c80a8

View File

@ -275,10 +275,6 @@ where
async fn backplane_set_window(&mut self, addr: u32) { async fn backplane_set_window(&mut self, addr: u32) {
let new_window = addr & !BACKPLANE_ADDRESS_MASK; let new_window = addr & !BACKPLANE_ADDRESS_MASK;
if new_window == self.backplane_window {
return;
}
if (new_window >> 24) as u8 != (self.backplane_window >> 24) as u8 { if (new_window >> 24) as u8 != (self.backplane_window >> 24) as u8 {
self.write8( self.write8(
FUNC_BACKPLANE, FUNC_BACKPLANE,