backend: correct deco2() problem in plannerShared
Divided by 1000 (int) instead of 1000.0 (float) which caused precision problems. Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
a85b0896b4
commit
694fcffa6e
@ -236,7 +236,7 @@ void plannerShared::set_bottompo2(double value)
|
||||
|
||||
double plannerShared::decopo2()
|
||||
{
|
||||
return qPrefDivePlanner::decopo2() / 1000;
|
||||
return qPrefDivePlanner::decopo2() / 1000.0;
|
||||
}
|
||||
void plannerShared::set_decopo2(double value)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user