mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix debug in precursor configs
This commit is contained in:
parent
ad4f05bed5
commit
76c1f9cb55
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ pub struct DebugUart {}
|
|||
impl DebugUart {
|
||||
#[cfg(all(feature = "debug-print", 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);
|
||||
|
||||
// Wait until TXFULL is `0`
|
||||
|
|
|
|||
Loading…
Reference in a new issue