           dctime += dclick_step;
           if (dctime > MaxDClickTime)
             dctime = MaxDClickTime;
-#ifdef DEBUG
+#if (DEBUG > 1)
           Serial.printf(F("doubleclick_action: vfo_RRight, after dctime=%d\n"), dctime);
 #endif
           break;

  // as in datasheet page 12 - modified to include calibration offset
  ULONG data = (frequency * 4294967296) / (180000000 - VfoClockOffset);

#ifdef DEBUG
  Serial.printf(F("dds_update: frequency=%ld, VfoClockOffset=%d, data=%ld\n"),
                frequency, VfoClockOffset, data);
#endif


void calibrate_action(struct Menu *menu, int item_num)
{
#if (DEBUG > 1)
  Serial.printf(F("calibrate_action: entered, VfoClockOffset=%dmsec\n"), VfoClockOffset);
#endif

