- Ashtech driver is no longer checking fix status from comparing
  coordinates to 0.0;0.0;0.0, instead it's checking fix type in GGA or
  checking coordinate exsistance in POS. This removes compiler warning
  about float euqality comparison.

- Fixed compiler warning about comparison between signed and unsigned
  int

- Fixed compiler warning about class property masking
This commit is contained in:
Denis Yeldandi
2014-10-10 17:51:18 +04:00
parent b925c5270e
commit fb6a68af70
2 changed files with 42 additions and 12 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ class ASHTECH : public GPS_Helper
char *_parse_pos; /** parse position */
bool _gsv_in_progress; /**< Indicates that gsv data parsing is in progress */
/* int _satellites_count; /**< Number of satellites info parsed. */
/* int _satellites_count; **< Number of satellites info parsed. */
uint8_t count; /**< Number of satellites in satellite info */
uint8_t svid[SAT_INFO_MAX_SATELLITES]; /**< Space vehicle ID [1..255], see scheme below */
uint8_t used[SAT_INFO_MAX_SATELLITES]; /**< 0: Satellite not used, 1: used for navigation */