comparison 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
comparison
equal deleted inserted replaced
242:b23de15e2861 243:b7b481df4f22
28 #ifndef TINFO_COMPASS_H 28 #ifndef TINFO_COMPASS_H
29 #define TINFO_COMPASS_H 29 #define TINFO_COMPASS_H
30 30
31 /* Exported functions --------------------------------------------------------*/ 31 /* Exported functions --------------------------------------------------------*/
32 void openInfo_Compass(void); 32 void openInfo_Compass(void);
33 void refreshInfo_Compass(void); 33 void refreshInfo_Compass(GFX_DrawCfgScreen s);
34 34
35 35
36 #endif /* TINFO_COMPASS_H */ 36 #endif /* TINFO_COMPASS_H */