     {
       Serial.printf(F("actual volts=%f, percent=%d, batt_bucket=%d\n"),
                       MeasuredVoltage, percent, batt_bucket);
+    batt_report_count = -ReportVoltageDelay;
     }
 #endif
   }
-
-#if (DEBUG & DEBUG_BATT)
-  if (batt_report_count > 0)
-    batt_report_count = -ReportVoltageDelay;
-#endif
 }
 
 //----------------------------------------

// We show immediately what the changes mean, but only update the
// actual contrast if we do a vfo_Click action.
//
// We limit the allowed range for LcdContrast to [0, 128].
//----------------------------------------

void contrast_action(struct Menu *menu, int item_num)


void doubleclick_action(struct Menu *menu, int item_num)
{
  int dctime = ReDClickTime;      // the value we adjust
  UINT dclick_step = 100;         // step adjustment +/-
  
