mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Whitespace and coding style updates
Another futile attempt to cleanup the code and make coding style and whitespace consistent. I tried to add a file that describes the key points of our coding style. I have no illusions that this will help the least bit... This commit should ONLY change whitespace Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3387ccc6f6
commit
a27f67c026
28 changed files with 387 additions and 323 deletions
2
device.c
2
device.c
|
@ -132,7 +132,7 @@ struct divecomputer* fake_dc(struct divecomputer* dc)
|
|||
/* we try for a sane slope, but bow to the insanity of
|
||||
* the user supplied data */
|
||||
fill_samples_no_avg(fake, max_d, max_t, MAX(2.0 * max_d / max_t, 5000.0 / 60));
|
||||
if(fake[3].time.seconds == 0) { // just a 4 point profile
|
||||
if (fake[3].time.seconds == 0) { // just a 4 point profile
|
||||
fakedc.samples = 4;
|
||||
fake[3].time.seconds = max_t;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue