mirror of
https://github.com/Hamlib/Hamlib
synced 2026-08-13 17:32:05 -04:00
Replace INT_MAX with FLT_MAX in indi_wrapper.cpp
Closes GitHub issue #1868.
This commit is contained in:
parent
8f33228a1a
commit
a9313260c2
1 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#include "indi_wrapper.hpp"
|
||||
|
||||
#include <math.h>
|
||||
#include <limits.h>
|
||||
#include <float.h>
|
||||
|
||||
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
|
||||
|
||||
|
|
@ -479,8 +479,8 @@ void RotINDIClient::newProperty(INDI::Property *property)
|
|||
connectDevice(mTelescope->getDeviceName());
|
||||
}
|
||||
|
||||
mDstAz = INT_MAX;
|
||||
mDstEl = INT_MAX;
|
||||
mDstAz = FLT_MAX;
|
||||
mDstEl = FLT_MAX;
|
||||
}
|
||||
|
||||
if (name == "HORIZONTAL_COORD")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue