 {
   Serial.printf(F("doubleclick_action: entered, ReDClickTime=%dmsec\n"), ReDClickTime);
 
-  int dctime = ReDClickTime;        // the value we adjust
-  unsigned int dclick_step = 100;   // step adjustment +/-
+  int dctime = ReDClickTime;      // the value we adjust
+  UINT dclick_step = 100;         // step adjustment +/-
   
   // get rid of any stray events to this point
   event_flush();

  // we want to wait until some sort of click
  while (true)
  {
    // handle any pending event
    if (event_pending() > 0)
    {
      byte event = event_pop(); // get next event and handle it

      switch (event)
      {
        case vfo_RLeft:
          break;
        case vfo_RRight:
          break;
        case vfo_Click:
          return;
        case vfo_HoldClick:
          return;
        default:
          // ignored events we don't handle
          break;
      }
    }
  }
}

  int clkoffset;
  int brightness;
  int contrast;
  UINT hold;
  UINT dclick;

  EEPROM.get(AddressFreq, freq);
  EEPROM.get(AddressSelDigit, offset);
