Mercurial > public > ostc4
diff Discovery/Inc/tInfoCompass.h @ 243:b7b481df4f22 div-fixes-5
debug: add SPI error counter to compass calibration
This is a debug only extension. It is possible to force SPI errors
and a failing compass calibration by rotating fast during the
calibration cycle. This extra debug output (only activated with
the proper #define statements) is a first aid in helping to
find the underlying issue.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Mon, 08 Apr 2019 12:35:59 +0200 |
parents | 5f11787b4f42 |
children |
line wrap: on
line diff
--- a/Discovery/Inc/tInfoCompass.h Mon Apr 08 12:02:07 2019 +0200 +++ b/Discovery/Inc/tInfoCompass.h Mon Apr 08 12:35:59 2019 +0200 @@ -30,7 +30,7 @@ /* Exported functions --------------------------------------------------------*/ void openInfo_Compass(void); -void refreshInfo_Compass(void); +void refreshInfo_Compass(GFX_DrawCfgScreen s); #endif /* TINFO_COMPASS_H */