diff --git a/services/ticktimer-server/Cargo.toml b/services/ticktimer-server/Cargo.toml index 6ffdf22ab..c003b5c04 100644 --- a/services/ticktimer-server/Cargo.toml +++ b/services/ticktimer-server/Cargo.toml @@ -14,4 +14,4 @@ utralib = { path = "../../utralib"} [features] debugprint = [] -default = [] # "debugprint" +default = ["debugprint"] # "debugprint" diff --git a/services/ticktimer-server/src/debug.rs b/services/ticktimer-server/src/debug.rs index 4dbf34c86..567e02c4c 100644 --- a/services/ticktimer-server/src/debug.rs +++ b/services/ticktimer-server/src/debug.rs @@ -48,7 +48,7 @@ impl Uart { UART resource. Modify in this function as necessary. */ let uart = xous::syscall::map_memory( - xous::MemoryAddress::new(utra::console::HW_CONSOLE_BASE), + xous::MemoryAddress::new(utra::server0::HW_SERVER0_BASE), None, 4096, xous::MemoryFlags::R | xous::MemoryFlags::W, @@ -59,7 +59,7 @@ impl Uart { // core::mem::forget(uart); println!("Allocating IRQ..."); - xous::claim_interrupt(utra::console::CONSOLE_IRQ, handle_irq, core::ptr::null_mut::()).expect("unable to allocate IRQ"); + xous::claim_interrupt(utra::server0::SERVER0_IRQ, handle_irq, core::ptr::null_mut::()).expect("unable to allocate IRQ"); self.enable_rx(); }