mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
remove more /2 errors now that peri clock is correct
This commit is contained in:
parent
534e99216a
commit
934d6e1082
1 changed files with 2 additions and 2 deletions
|
|
@ -58,8 +58,8 @@ impl SwapHal {
|
|||
channel,
|
||||
// has to be half the clock frequency reaching the block, but run it as fast
|
||||
// as we can run perclk
|
||||
perclk_freq / 4,
|
||||
perclk_freq / 2,
|
||||
perclk_freq,
|
||||
SpimClkPol::LeadingEdgeRise,
|
||||
SpimClkPha::CaptureOnLeading,
|
||||
SpimCs::Cs0,
|
||||
|
|
@ -77,8 +77,8 @@ impl SwapHal {
|
|||
let mut ram_spim = unsafe {
|
||||
Spim::new_with_ifram(
|
||||
channel,
|
||||
perclk_freq / 4,
|
||||
perclk_freq / 2,
|
||||
perclk_freq,
|
||||
SpimClkPol::LeadingEdgeRise,
|
||||
SpimClkPha::CaptureOnLeading,
|
||||
SpimCs::Cs1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue