From 16054e1f1eac33267aa0499a23a38cdab5276665 Mon Sep 17 00:00:00 2001 From: Brandon Ros Date: Tue, 22 Aug 2023 18:51:56 -0400 Subject: [PATCH] cleanup 0x180000000 const --- cyw43/src/bus.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cyw43/src/bus.rs b/cyw43/src/bus.rs index ed031861..dd9ecb4a 100644 --- a/cyw43/src/bus.rs +++ b/cyw43/src/bus.rs @@ -257,7 +257,7 @@ where debug!("backplane_readn addr = {:08x} len = {} val = {:08x}", addr, len, val); - self.backplane_set_window(0x18000000).await; // CHIPCOMMON_BASE_ADDRESS + self.backplane_set_window(CHIP.pmu_base_address).await; return val; } @@ -273,7 +273,7 @@ where } self.writen(FUNC_BACKPLANE, bus_addr, val, len).await; - self.backplane_set_window(0x18000000).await; // CHIPCOMMON_BASE_ADDRESS + self.backplane_set_window(CHIP.pmu_base_address).await; } async fn backplane_set_window(&mut self, addr: u32) {