view .hgtags @ 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 e424ad056b58
children 9c8e2e962f55
line wrap: on
line source

1b9be6040d8279117c7fc99d528790611638f10b V1.4.7 release
ba9d99a2e310da601a948ff11ad665260c600e18 v1.4.8 release