Return is not a function

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2011-12-14 20:49:40 -08:00
parent 6245b700a4
commit 0a9e5aa735
6 changed files with 7 additions and 7 deletions

View file

@ -88,7 +88,7 @@ static int pressure_to_depth(uint16_t value)
atm = bar_to_atm(value / 100.0);
cm = 100 * atm + 0.5;
return( (cm > 0) ? 10 * (long)cm : 0);
return (cm > 0) ? 10 * (long)cm : 0;
}
/*