change some things, because azimuth is now
by default a signed value
This commit is contained in:
@@ -182,7 +182,7 @@ class Navigation {
|
||||
*
|
||||
* @return uint16_t degree
|
||||
*/
|
||||
uint16_t getAzimuth() const { return this->azimuth; }
|
||||
int16_t getAzimuth() const { return this->azimuth; }
|
||||
QMC5883LCompass* getCompass() const { return this->compass; }
|
||||
|
||||
Point::Accuracy getMinAccuracy() const { return this->minAccuracy; }
|
||||
@@ -244,9 +244,10 @@ class Navigation {
|
||||
char* user;
|
||||
char* password;
|
||||
|
||||
int16_t azimuth = INT16_MAX;
|
||||
|
||||
uint8_t timeToWait = 200;
|
||||
uint16_t port;
|
||||
uint16_t azimuth = UINT16_MAX;
|
||||
uint32_t lastMillis = 0;
|
||||
uint32_t ubxUpdateTime = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user