 #define DEBUG_INT     (1 << 6)  // interrupts
 #define DEBUG_DISP    (1 << 7)  // display
 #define DEBUG_BATT    (1 << 8)  // battery
-#define DEBUG_MISC    (1 << 9)  // usually just debugging
+#define DEBUG_MISC    (1 << 9)  // usually debugging
 
 // DEBUG word for debugging program - bitmask values
-#define DEBUG         (DEBUG_MISC + DEBUG_EVENT)
 //#define DEBUG         (DEBUG_BATT + DEBUG_ACT)
-//#define DEBUG         0
+#define DEBUG         0
 //#define DEBUG         0xff
 
 // Digital VFO program name & version
 const char *ProgramName = "DigitalVFO";
 const char *Version = "1.6";
-const char *MinorVersion = ".1";
+const char *MinorVersion = ".2";
 const char *Callsign = "ac3dn";
 
 // display constants - below is for ubiquitous small HD44780 16x2 display

#if INIT_EEPROM != 0
  initialize_eeprom();  // WARNING! Destroys the EEPROM stored values
#endif

  // initialize the BlankRow global to a blank string length of a display row
  BlankRow = (char *) malloc(NumCols + 1);
  for (int i = 0; i < NumCols; ++i)
    BlankRow[i] = ' ';
  BlankRow[NumCols] = '\0';     // don't forget the string terminator

  // VFO wakes up in standby mode
  VfoMode = vfo_Standby;

//##############################################################################

//----------------------------------------
// Show the main screen.
// Room for 'mode', etc, display on second row
//----------------------------------------

void show_main_screen(void)
{
  lcd.clear();
  display_sel_value(VfoFrequency, VfoSelectDigit, NumFreqChars, NumCols - NumFreqChars - 2, 0);
  lcd.print("Hz");

  lcd.setCursor(0, 1);
  lcd.write(mode2display(VfoMode));
}

//----------------------------------------
// The standard Arduino setup() function.
// Called once on powerup.
//----------------------------------------
