mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
fmt
This commit is contained in:
parent
f0b46c0f58
commit
51cd52bb8c
|
@ -118,7 +118,9 @@ fn main() -> ! {
|
||||||
let mut mc = Multicore::new(&mut pac.PSM, &mut pac.PPB, &mut sio);
|
let mut mc = Multicore::new(&mut pac.PSM, &mut pac.PPB, &mut sio);
|
||||||
let cores = mc.cores();
|
let cores = mc.cores();
|
||||||
let core1 = &mut cores[1];
|
let core1 = &mut cores[1];
|
||||||
let _test = core1.spawn(move || core1_task(sys_freq), unsafe { &mut CORE1_STACK.mem });
|
let _test = core1.spawn(move || core1_task(sys_freq), unsafe {
|
||||||
|
&mut CORE1_STACK.mem
|
||||||
|
});
|
||||||
|
|
||||||
/// How much we adjust the LED period every cycle
|
/// How much we adjust the LED period every cycle
|
||||||
const LED_PERIOD_INCREMENT: i32 = 2;
|
const LED_PERIOD_INCREMENT: i32 = 2;
|
||||||
|
|
Loading…
Reference in a new issue