mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
cleanup perclk setting
This commit is contained in:
parent
fb7da782cf
commit
b509fffc51
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ pub fn setup_console<T: IoSetup + IoGpio>(
|
||||||
udma_global.map_event(uart_id, PeriphEventType::Uart(EventUartOffset::Tx), EventChannel::Channel1);
|
udma_global.map_event(uart_id, PeriphEventType::Uart(EventUartOffset::Tx), EventChannel::Channel1);
|
||||||
|
|
||||||
let baudrate: u32 = crate::UART_BAUD;
|
let baudrate: u32 = crate::UART_BAUD;
|
||||||
let freq: u32 = perclk / 2;
|
let freq: u32 = perclk;
|
||||||
|
|
||||||
// the address of the UART buffer is "hard-allocated" at an offset one page from the top of
|
// the address of the UART buffer is "hard-allocated" at an offset one page from the top of
|
||||||
// IFRAM0. This is a convention that must be respected by the UDMA UART library implementation
|
// IFRAM0. This is a convention that must be respected by the UDMA UART library implementation
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue