 
 void loop(void)
 {
-
   tx_payload.throttle = joystickMapValues( analogRead(PIN_THROTTLE), 100, 500, 900, false );
   tx_payload.yaw      = joystickMapValues( analogRead(PIN_YAW), 100, 500, 900, false );
   tx_payload.pitch    = joystickMapValues( analogRead(PIN_PITCH), 100, 500, 900, false );
   tx_payload.roll     = joystickMapValues( analogRead(PIN_ROLL), 100, 500, 900, false );
    
-  printf("Now sending throttle %d\n\r ",tx_payload.throttle);
+  if (DEBUG) {
+    //printf("Now sending throttle %d\n\r ",tx_payload.throttle);
+  }
   
   // Stop listening so we can talk.
   radio.stopListening();                                  

unsigned long ppsLast = 0;
int ppsCounter = 0;
int pps = 0;

void resetPayload() 
{

          radio.read( &ack_payload, sizeof(ack_t) );
          ppsCounter++;
          if (DEBUG) {
            //printf("Got response %d, pps: %d , round-trip: %lu microseconds\n\r", ack_payload.val, pps, tim-time);
          }
        }

