   if (++i > 8) {
     i = 5; 
   }
-}
-
+  
+}
+

  // Stop listening so we can talk.
  radio.stopListening();                                  
        
  // Take the time, and send it.  This will block until complete 
  //unsigned long time = micros();  
  if (!radio.write( &tx_payload, sizeof(tx_t))) {
    // Got no ack.
    if (DEBUG) {

int ppsLost = 0;
int ppsLostCounter = 0;

uint16_t throttle;
uint16_t yaw;
uint16_t pitch; 
uint16_t roll; 

uint8_t switches = 0; // bit flag

void resetPayload() 
