 uint8_t buflen = sizeof(buf);
 uint8_t data[4];  // 2 element array of unsigned 8-bit type, holding Joystick readings
 RH_ASK driver(4800, RF_DATA_PIN, 6);
+boolean isRFUpdated = false;
 // RECEPTEUR : DATA D11
 
 // PID for robust control

#include <PID_v1.h>       // From https://github.com/br3ttb/Arduino-PID-Library/tree/master/PID_v1
#include <RH_ASK.h>
#include <SPI.h> // Not actualy used but needed to compile

// Port definition
#define      TX_PIN 8 // Plug to Sabertooth RX

	{ 
          data[i] = buf[i];
        }
        isRFUpdated = true;       
    }
}

