Skip to content

Commit

Permalink
Fix example in doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic committed Nov 14, 2024
1 parent f8155a1 commit c864d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rp2040-hal/src/multicore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//! let mut mc = Multicore::new(&mut pac.PSM, &mut pac.PPB, &mut sio.fifo);
//! let cores = mc.cores();
//! let core1 = &mut cores[1];
//! let _test = core1.spawn(unsafe { &mut CORE1_STACK.mem }, core1_task);
//! let _test = core1.spawn(CORE1_STACK.take().unwrap(), core1_task);
//! // The rest of your application below this line
//! # loop {}
//! }
Expand Down

0 comments on commit c864d3f

Please sign in to comment.