       gps.encode(Serial1.read());
   } while (millis() - start < ms);
   #endif
-}
+}
        val_array[3] = (q[3]);
        //val_array[15] = millis();
        val_array[16] = val[9];
	
        #if HAS_PRESS()
           // with baro
           val_array[17] = val[10];

#include <AK8963.h>
#include <L3G.h>
#include <LPS331.h> 
//#include <AP_Baro_MS5611.h>  //Uncomment for APM2.5

#include <Wire.h>
#include <SPI.h>
