       int packetSize = 19; //Depending on the flight state, the actual packet size may change
 
       radioPacket[0] = flightState; //Start every packet with the current flight staging (lets the receiver know what data is going to come at the end of the packet)
-      radioPacket[1] = servoOnPin;
-      radioPacket[2] = servoHomePin; //The next three items in each packet report the outputs to the servo.
+      radioPacket[1] = servoOnFlag;
+      radioPacket[2] = servoHomeFlag; //The next three items in each packet report the outputs to the servo.
       radioPacket[3] = finState;
 
 union{ //Float-to-byte-string converter, needed for GPS data

/*
 * Notre Dame Rocket Team Roll Control Payload Master Code V. 0.8.2
 * Aidan McDonald, 2/1/17
 * 
 * Most recent changes:
 * Moved GPS enabling to post-burnout
 * Reconfigured transmitter code to send different sensor data at different points in the flight
 * Configured packet transmission to create a standard data set and interpretive flags for the receiver code to use
 * Modified the gpsDataFlag to be a generic flag set if data is saved, until the GPS is enabled, in which case it reverts to its old role.
 * 
 * To-dones:
  * Basic switch-case structure

} uInt;

uInt.tempInt = gyroData[2]; //Remember: THIS ASSUMES Z-AXIS IS VERTICAL!!!
radioPacket[5] = uInt.tempArray[0];
radioPacket[6] = uInt.tempArray[1]; 
packetSize = 6;
}

