Mercurial > public > ostc4
diff 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 |
line wrap: on
line diff
--- a/Discovery/Src/tInfoLog.c Fri Mar 15 08:22:16 2019 +0000 +++ b/Discovery/Src/tInfoLog.c Fri Mar 15 12:39:28 2019 +0100 @@ -57,7 +57,6 @@ SInfoLogMemory infolog; /* Private function prototypes -----------------------------------------------*/ -void nextLineInfoLog(void); void tInfoLog_BuildAndShowNextPage(void); void tInfoLog_nextLine(void); void showLog(void); @@ -162,6 +161,7 @@ case ACTION_MODE_CHANGE: case ACTION_BUTTON_BACK: stepBackInfo(); + break; default: break; case ACTION_IDLE_TICK: @@ -192,6 +192,7 @@ showLogExit(); } show_logbook_exit(); + break; default: break; case ACTION_IDLE_TICK: