 //define USE_DIP
 #define USE_DIVERSITY
 //#define DEBUG
+//#define RSSI_DEBUG
 
 #define spiDataPin 10
 #define slaveSelectPin 11

        {
            case useReceiverAuto:
                // select receiver
                if(rssiA/10 > rssiB/10)
                {
                    rssi=rssiA;
                    digitalWrite(receiverA_led, HIGH);
                    digitalWrite(receiverB_led, LOW);
                }
                else
                {
                    rssi=rssiB;
                    digitalWrite(receiverB_led, HIGH);
                    digitalWrite(receiverA_led, LOW);
                }
                break;
            case useReceiverA:

#define useReceiverAuto 0
#define useReceiverA 1
#define useReceiverB 2
// rssi strenth should be 2% greater than other receiver before switch.
#define DIVERSITY_CUTOVER 2
#endif

// this two are minimum required
