         float altitude = getAltitude(press, temp);
         attitude.h = altitude;
         //Serial.print(" mbar altitude: "); Serial.print(altitude); Serial.println(" m");
-        
+        */
         if (millis() > last_time +UPDATE_RATE)
          { sendData();
            last_time = millis();

// this device only supports one I2C address (0x1E)
HMC5883L mag;
MPU6050 mpu(0x69); // <-- use for AD0 high
MS561101BA baro = MS561101BA();

// uncomment "OUTPUT_READABLE_YAWPITCHROLL" if you want to see the yaw/
// pitch/roll angles (in degrees) calculated from the quaternions coming

    Serial.println(F("Initializing Barometer..."));
    // Suppose that the CSB pin is connected to GND.
    // You'll have to check this on your breakout schematics
//    baro.init(MS561101BA_ADDR_CSB_LOW); 
    delay(100);
  
    // populate movavg_buff before starting loop
    for(int i=0; i<MOVAVG_SIZE; i++) {
    //movavg_buff[i] = baro.getPressure(MS561101BA_OSR_4096);
    }  

    // initialize device
