Mercurial > public > ostc4
comparison Discovery/Inc/text_multilanguage.h @ 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 | 2bb1db22b5f5 |
children | 77de014928d6 50ea68c7a153 |
comparison
equal
deleted
inserted
replaced
307:b6436edfb2c0 | 308:1203255481e4 |
---|