acassis commented on code in PR #9487:
URL: https://github.com/apache/nuttx/pull/9487#discussion_r1221671942


##########
include/dsp.h:
##########
@@ -447,6 +447,14 @@ struct pmsm_model_f32_s
   float                         iq_int; /* Iq integral part */
 };
 
+/* Average filter */
+
+struct avg_filter_data_s
+{
+  float prev_avg;      /* Previous average */

Review Comment:
   The name prev_avg is important to make sense in avg_filter function. More 
info: https://www.youtube.com/watch?v=HCd-leV8OkU about position 14:30



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to