     Serial.println("    DEBUG_INT\tbit is set");
   if (debug & DEBUG_DISP)
     Serial.println("    DEBUG_DISP\tbit is set");
+#if INC_BATTERY
+  if (debug & DEBUG_BATT)
+    Serial.println("    DEBUG_BATT\tbit is set");
+#endif
 }
 
 //----------------------------------------

#include <LiquidCrystal.h>
#include <EEPROM.h>

// debug bit masks:
#define DEBUG_DDS     (1 << 0)
#define DEBUG_FREQ    (1 << 1)


    // update the display
    display_sel_value(VfoFrequency, VfoSelectDigit, NumFreqChars, NumCols - NumFreqChars - 2, 0);
#if INC_BATTERY
    display_battery();
#endif

    // if online, update DDS-60 and write changes to EEPROM
#if (DEBUG & DEBUG_FREQ)
