From 067bbf5b5cd4a437a4cbfc89a58f4bab5386558d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 2 Apr 2014 07:49:39 +1100 Subject: [PATCH] DataFlash: hdop is unsigned --- libraries/DataFlash/DataFlash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/DataFlash/DataFlash.h b/libraries/DataFlash/DataFlash.h index 1cb8ac6dc3..c246818e8c 100644 --- a/libraries/DataFlash/DataFlash.h +++ b/libraries/DataFlash/DataFlash.h @@ -163,7 +163,7 @@ struct PACKED log_GPS { uint32_t gps_week_ms; uint16_t gps_week; uint8_t num_sats; - int16_t hdop; + uint16_t hdop; int32_t latitude; int32_t longitude; int32_t rel_altitude; @@ -180,7 +180,7 @@ struct PACKED log_GPS2 { uint32_t gps_week_ms; uint16_t gps_week; uint8_t num_sats; - int16_t hdop; + uint16_t hdop; int32_t latitude; int32_t longitude; int32_t altitude;