We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8155a1 commit c864d3fCopy full SHA for c864d3f
rp2040-hal/src/multicore.rs
@@ -23,7 +23,7 @@
23
//! let mut mc = Multicore::new(&mut pac.PSM, &mut pac.PPB, &mut sio.fifo);
24
//! let cores = mc.cores();
25
//! let core1 = &mut cores[1];
26
-//! let _test = core1.spawn(unsafe { &mut CORE1_STACK.mem }, core1_task);
+//! let _test = core1.spawn(CORE1_STACK.take().unwrap(), core1_task);
27
//! // The rest of your application below this line
28
//! # loop {}
29
//! }
0 commit comments