From a95f11fb24c47ade4d3d386445e1bfaaaf9f3a62 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Sun, 8 Sep 2024 09:13:37 -0400 Subject: [PATCH] Update KalmanSmoother.h --- bbn_wave_freq_m5atomS3/KalmanSmoother.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbn_wave_freq_m5atomS3/KalmanSmoother.h b/bbn_wave_freq_m5atomS3/KalmanSmoother.h index 995c70d..fced446 100644 --- a/bbn_wave_freq_m5atomS3/KalmanSmoother.h +++ b/bbn_wave_freq_m5atomS3/KalmanSmoother.h @@ -61,8 +61,8 @@ void kalman_smoother_init(KalmanSmootherVars* s, float process_noise, float sens s->p = estimated_error; } -void kalman_smoother_set_initial(KalmanSmootherVars* s, float intial_value) { - s->x = intial_value; +void kalman_smoother_set_initial(KalmanSmootherVars* s, float initial_value) { + s->x = initial_value; } float kalman_smoother_update(KalmanSmootherVars* s, float measurement) {