acassis commented on PR #9487:
URL: https://github.com/apache/nuttx/pull/9487#issuecomment-1580599699

   I think "prev_avg = avg" is making no sense, because it will be lost as the 
function leaves.
   Does it make sense to pass float "*prev_avg, float *k" ? This way the use 
don't need to remember to update prev_avg and k. Just need to create the 
original variables with prev_avg = 0 and k = 1.


-- 
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