 #define STATE_SEEK 1
 #define STATE_SCAN 2
 #define STATE_MANUAL 3
-#define STATE_SWITCH 4
+#define STATE_DIVERSITY 4
 #define STATE_SAVE 5
 #define STATE_RSSI_SETUP 6
-#define STATE_DIVERSITY 7
 
 #define START_STATE STATE_SEEK
 #define MAX_STATE STATE_MANUAL
 
 #define CHANNEL_BAND_SIZE 8
 #define CHANNEL_MIN_INDEX 0
-#define CHANNEL_MAX_INDEX 31
-
-#define CHANNEL_MAX 31
+#define CHANNEL_MAX_INDEX 39
+
+#define CHANNEL_MAX 39
 #define CHANNEL_MIN 0
 
 #define TV_COLS 128

#define EEPROM_ADR_RSSI_MAX_B_L 9
#define EEPROM_ADR_RSSI_MAX_B_H 10

// Channels to sent to the SPI registers
const uint16_t channelTable[] PROGMEM = {
  // Channel 1 - 8
  0x2A05,    0x299B,    0x2991,    0x2987,    0x291D,    0x2913,    0x2909,    0x289F,    // Band A
  0x2903,    0x290C,    0x2916,    0x291F,    0x2989,    0x2992,    0x299C,    0x2A05,    // Band B
  0x2895,    0x288B,    0x2881,    0x2817,    0x2A0F,    0x2A19,    0x2A83,    0x2A8D,    // Band E
  0x2906,    0x2910,    0x291A,    0x2984,    0x298E,    0x2998,    0x2A02,    0x2A0C  // Band F / Airwave
};

// Channels with their Mhz Values

                else if(state == STATE_SEEK)
                {
                    TV.printPGM(10, TV_Y_OFFSET,  PSTR("AUTO MODE SEEK"));
                }
                TV.draw_line(0,1*TV_Y_GRID,TV_X_MAX,1*TV_Y_GRID,WHITE);
                TV.printPGM(5,TV_Y_OFFSET+1*TV_Y_GRID,  PSTR("BAND: "));
