Skip to content

Commit

Permalink
linting issues again
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkamprath committed Nov 29, 2024
1 parent 646e34c commit c203504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model/heading_core1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ impl<'a> HeadingManager<'a> {
// spawn the heading calculation task on core1
let sys_freq = self.sys_freq; // value that can be moved into the closure
let mut timer = timer;
#[allow(static_mut_refs)]
let _res = self.core1.spawn(unsafe { &mut CORE1_STACK.mem }, move || {
// LED is used to indicate that the gyro is good to go. make sure it is off to start
if let Err(_e) = led_pin.set_low() {
Expand Down

0 comments on commit c203504

Please sign in to comment.