mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-12 07:44:18 +00:00
fix some bit-rotted constants in xous-swapper debug
This commit is contained in:
parent
b962bfe26d
commit
409e381c2d
1 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ impl DebugUart {
|
|||
#[cfg(all(feature = "debug-print-swapper", any(feature = "precursor", feature = "renode")))]
|
||||
pub fn putc(&mut self, c: u8) {
|
||||
use utralib::generated::*;
|
||||
let mut csr = CSR::new(loader::swap::SWAP_APP_UART_VADDR as *mut u32);
|
||||
let mut csr = CSR::new(xous::arch::SWAP_APP_UART_VADDR as *mut u32);
|
||||
|
||||
// Wait until TXFULL is `0`
|
||||
while csr.r(utra::app_uart::TXFULL) != 0 {}
|
||||
|
|
@ -21,9 +21,9 @@ impl DebugUart {
|
|||
// we just have to not bungle.
|
||||
let mut uart = unsafe {
|
||||
udma::Uart::get_handle(
|
||||
loader::swap::SWAP_APP_UART_VADDR as usize,
|
||||
xous::arch::SWAP_APP_UART_VADDR as usize,
|
||||
cramium_hal::board::APP_UART_IFRAM_ADDR as usize,
|
||||
loader::swap::SWAP_APP_UART_IFRAM_VADDR as usize,
|
||||
xous::arch::SWAP_APP_UART_IFRAM_VADDR as usize,
|
||||
)
|
||||
};
|
||||
// enqueue our character to send via DMA
|
||||
|
|
|
|||
Loading…
Reference in a new issue