                 break;
                 case 3: // DIP mode or diversity
                     TV.draw_rect(8,3+4*MENU_Y_SIZE,100,12,  WHITE, INVERT);
-#ifdef USE_DIVERSITY
                     state=STATE_DIVERSITY;
-#else
-                    state=STATE_SWITCH;
-                    last_dip_channel=255; // force update
-#endif
                 break;
                 case 4: // Save settings
                     TV.draw_rect(8,3+5*MENU_Y_SIZE,100,12,  WHITE, INVERT);

#define buttonSave 5
// Buzzer
#define buzzer 6

// pins for DIP switch
//#define USE_DIP
#ifdef USE_DIP
    #define dip_ch0 A0
    #define dip_ch1 A1
    #define dip_ch2 A2
    #define dip_band0 A3
    #define dip_band1 A4
    #define dip_enable 0
#endif

// key debounce delay in ms
// NOTE: good values are in the range of 100-200ms

        // save 16 bit
        EEPROM.write(EEPROM_ADR_RSSI_MAX_A_L,lowByte(RSSI_MAX_VAL));
        EEPROM.write(EEPROM_ADR_RSSI_MAX_A_H,highByte(RSSI_MAX_VAL));
        // diversity
        EEPROM.write(EEPROM_ADR_DIVERSITY,diversity_mode);
        // save 16 bit
