change(filter): add more functions to time critical section

This commit is contained in:
Naxdy committed 2024-03-30 08:09:58 +01:00
1 parent 55b9bc6d2c
commit 26d957f6f3
1 file changed
+2
+2
View File
@@ -180,6 +180,7 @@ pub struct KalmanState {
impl KalmanState {
// runs kalman filter
#[link_section = ".time_critical.run_kalman"]
pub fn run_kalman(
&mut self,
x_z: f32,
@@ -291,6 +292,7 @@ impl KalmanState {
/// output at the rim longer when released.
///
/// Output is a tuple of the x and y positions.
#[link_section = ".time_critical.run_waveshaping"]
pub fn run_waveshaping(
x_pos: f32,
y_pos: f32,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.