mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
ticktimer: use correct debug port
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
1a0be47d05
commit
b8f69b4a7f
1 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ impl Uart {
|
||||||
UART resource. Modify in this function as necessary.
|
UART resource. Modify in this function as necessary.
|
||||||
*/
|
*/
|
||||||
let uart = xous::syscall::map_memory(
|
let uart = xous::syscall::map_memory(
|
||||||
xous::MemoryAddress::new(utra::server0::HW_SERVER0_BASE),
|
xous::MemoryAddress::new(utra::server1::HW_SERVER1_BASE),
|
||||||
None,
|
None,
|
||||||
4096,
|
4096,
|
||||||
xous::MemoryFlags::R | xous::MemoryFlags::W,
|
xous::MemoryFlags::R | xous::MemoryFlags::W,
|
||||||
|
|
@ -59,7 +59,7 @@ impl Uart {
|
||||||
// core::mem::forget(uart);
|
// core::mem::forget(uart);
|
||||||
|
|
||||||
println!("Allocating IRQ...");
|
println!("Allocating IRQ...");
|
||||||
xous::claim_interrupt(utra::server0::SERVER0_IRQ, handle_irq, core::ptr::null_mut::<usize>()).expect("unable to allocate IRQ");
|
xous::claim_interrupt(utra::server1::SERVER1_IRQ, handle_irq, core::ptr::null_mut::<usize>()).expect("unable to allocate IRQ");
|
||||||
self.enable_rx();
|
self.enable_rx();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue