diff --git a/ArduCopter/Log.pde b/ArduCopter/Log.pde index cdfbbe8126..64b43bd7b4 100644 --- a/ArduCopter/Log.pde +++ b/ArduCopter/Log.pde @@ -250,8 +250,8 @@ static void Log_Read_GPS() int8_t temp2 = DataFlash.ReadByte(); // 2 sats int32_t temp3 = DataFlash.ReadLong(); // 3 lat int32_t temp4 = DataFlash.ReadLong(); // 4 lon - float temp5 = DataFlash.ReadLong() / 100.0; // 5 gps alt - float temp6 = DataFlash.ReadLong() / 100.0; // 6 sensor alt + float temp5 = DataFlash.ReadLong() / 100.0; // 5 sensor alt + float temp6 = DataFlash.ReadLong() / 100.0; // 6 gps alt int16_t temp7 = DataFlash.ReadInt(); // 7 ground speed int32_t temp8 = DataFlash.ReadLong();// 8 ground course