From c203504f77596a44876c438dff7085ce4718aeec Mon Sep 17 00:00:00 2001 From: Michael Kamprath Date: Fri, 29 Nov 2024 11:04:04 -0800 Subject: [PATCH] linting issues again --- src/model/heading_core1.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/model/heading_core1.rs b/src/model/heading_core1.rs index b5d3a73..7245913 100644 --- a/src/model/heading_core1.rs +++ b/src/model/heading_core1.rs @@ -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() {