Mercurial > public > hwos_code
comparison src/p2_deco.c @ 225:31088352ee32
BUGFIX: Show dives with >999mins divetime correctly
author | heinrichsweikamp |
---|---|
date | Sun, 01 Feb 2015 18:49:24 +0100 |
parents | 7dbc1d780ca5 |
children | ad62dff7739a |
comparison
equal
deleted
inserted
replaced
224:5a4801918be9 | 225:31088352ee32 |
---|---|
1483 if( char_O_deco_status == 1 ) | 1483 if( char_O_deco_status == 1 ) |
1484 int_O_ascenttime = sum; | 1484 int_O_ascenttime = sum; |
1485 else | 1485 else |
1486 int_O_extra_ascenttime = sum; | 1486 int_O_extra_ascenttime = sum; |
1487 | 1487 |
1488 if(int_O_ascenttime>999) | |
1489 int_O_ascenttime=999; // limit to 999' | |
1490 } | 1488 } |
1491 | 1489 |
1492 ////////////////////////////////////////////////////////////////////////////// | 1490 ////////////////////////////////////////////////////////////////////////////// |
1493 // update_startvalues | 1491 // update_startvalues |
1494 // | 1492 // |