comparison Discovery/Src/tInfoLog.c @ 186:f11f0bf6ef2d cleanup-2

cleanup: remove obsolete code, make static, etc. Some rather trivial cleanup things like putting demo code into ifdefs, making functions static where possible, and against my normal policy of hard removing unused code, commenting it out at this point in time. Somehow, I think that this commented code might be useful in the near future as a new pressure sensor is coming. And finally, fixed some typo's in comment. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Fri, 15 Mar 2019 12:39:28 +0100
parents cc8e24374b83
children b90ddf57f7f1
comparison
equal deleted inserted replaced
185:1bb24fd3fc92 186:f11f0bf6ef2d
55 GFX_DrawCfgWindow INFOLOGwindow; 55 GFX_DrawCfgWindow INFOLOGwindow;
56 56
57 SInfoLogMemory infolog; 57 SInfoLogMemory infolog;
58 58
59 /* Private function prototypes -----------------------------------------------*/ 59 /* Private function prototypes -----------------------------------------------*/
60 void nextLineInfoLog(void);
61 void tInfoLog_BuildAndShowNextPage(void); 60 void tInfoLog_BuildAndShowNextPage(void);
62 void tInfoLog_nextLine(void); 61 void tInfoLog_nextLine(void);
63 void showLog(void); 62 void showLog(void);
64 void showNextLogPage(void); 63 void showNextLogPage(void);
65 void stepBackInfo(void); 64 void stepBackInfo(void);
160 break; 159 break;
161 case ACTION_TIMEOUT: 160 case ACTION_TIMEOUT:
162 case ACTION_MODE_CHANGE: 161 case ACTION_MODE_CHANGE:
163 case ACTION_BUTTON_BACK: 162 case ACTION_BUTTON_BACK:
164 stepBackInfo(); 163 stepBackInfo();
164 break;
165 default: 165 default:
166 break; 166 break;
167 case ACTION_IDLE_TICK: 167 case ACTION_IDLE_TICK:
168 case ACTION_IDLE_SECOND: 168 case ACTION_IDLE_SECOND:
169 break; 169 break;
190 else 190 else
191 { 191 {
192 showLogExit(); 192 showLogExit();
193 } 193 }
194 show_logbook_exit(); 194 show_logbook_exit();
195 break;
195 default: 196 default:
196 break; 197 break;
197 case ACTION_IDLE_TICK: 198 case ACTION_IDLE_TICK:
198 case ACTION_IDLE_SECOND: 199 case ACTION_IDLE_SECOND:
199 break; 200 break;