Mercurial > public > ostc4
view Common/Drivers/CMSIS/index.html @ 308:1203255481e4 cleanup-4
cleanup: introduce function setAvgDepth
The simulator and the realtime code shared a literally identical piece
of code to compute a running depth average. This is simply poor coding
style, so factor this out and create a function to do this work.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Fri, 24 May 2019 09:02:46 +0200 |
parents | c78bcbd5deda |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Redirect to the CMSIS main page after 0 seconds</title> <meta http-equiv="refresh" content="0; URL=Documentation/General/html/index.html"> <meta name="keywords" content="automatic redirection"> </head> <body> If the automatic redirection is failing, click <a href="Documentation/General/html/index.html">open CMSIS Documentation</a>. </body> </html>