Mercurial > public > ostc4
comparison Discovery/Inc/simulation.h @ 225:2bb1db22b5f5 div-fixes-3
cleanup: random set of cleanups
A random set of cleanups, as found during code reading, and looking
around fixing issues. Contains all kinds of things: typo's in comment,
typo in variable name, removal of unused code, making things static
where possible. Does not contain any functional changes.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Mon, 01 Apr 2019 15:50:41 +0200 |
parents | 5f11787b4f42 |
children | 55a9aa740f13 |
comparison
equal
deleted
inserted
replaced
224:ceecabfddb57 | 225:2bb1db22b5f5 |
---|---|
43 } SSimDataSummary; | 43 } SSimDataSummary; |
44 | 44 |
45 void simulation_start(int aim_depth); | 45 void simulation_start(int aim_depth); |
46 void simulation_exit(void); | 46 void simulation_exit(void); |
47 | 47 |
48 void simulation_set_aim_depth(int depth_meter); | |
49 void simulation_set_heed_decostops(_Bool heed_decostops_while_ascending); | 48 void simulation_set_heed_decostops(_Bool heed_decostops_while_ascending); |
50 | 49 |
51 void simulation_add_time(int minutes); | |
52 void simulation_UpdateLifeData( _Bool checkOncePerSecond); | 50 void simulation_UpdateLifeData( _Bool checkOncePerSecond); |
53 void simulation_set_zero_time_descent(void); | 51 void simulation_set_zero_time_descent(void); |
54 | 52 |
55 uint16_t simulation_get_aim_depth(void); | 53 uint16_t simulation_get_aim_depth(void); |
56 _Bool simulation_get_heed_decostops(void); | 54 _Bool simulation_get_heed_decostops(void); |