         digitalWrite(receiverA_led, LOW);
     }
 }
-#endif
 
 // Private function: from http://arduino.cc/playground/Code/AvailableMemory
 int freeRam () {

    { // reset debounce
        switch_count = 0;
    }
#ifdef USE_DIP
    /***********************/
    /*   Static SWITCH MODE   */
    /***********************/
    // set to SWITCH mode if SWITCH_ENABLE is low (no interactive mode)
    if(digitalRead(dip_enable) == LOW)
    {
        state=STATE_SWITCH;
    }
#endif
    /***********************/
    /*     Save buttom     */
    /***********************/

#include <EEPROM.h>

// Feature Togglels
//#define DEBUG

#define spiDataPin 10
#define slaveSelectPin 11
