 ////////////////////////////////////////////////////////////////////////////////
 // Utility routines for the display.
 ////////////////////////////////////////////////////////////////////////////////
-
-//----------------------------------------------------------
-// Function to convert an unsigned long into an array of byte digit values.
-//     buf      address of buffer for byte results
-//     bufsize  size of the 'buf' buffer
-//     value    the unsigned long value to convert
-// The function won't overflow the given buffer, it will truncate at the left.
-//
-// For example, given the value 1234 and a buffer of length 7, will fill the
-// buffer with 0001234.  Given 123456789 it will fill with 3456789.
-//----------------------------------------------------------
-
-void ltobbuff(char *buf, int bufsize, unsigned long value)
-{
-  char *ptr = buf + bufsize - 1;
-
-  for (int i = 0; i < bufsize; ++i)
-  {
-    int rem = value % 10;
-
-    value = value / 10;
-    *ptr-- = char(rem);
-  }
-}
 
 //----------------------------------------------------------
 // Print the frequency on the display with selected colum underlined.

    Serial.print(" "); Serial.print(event_queue[i]);
  }
  Serial.println("");
  Serial.print("Queue length="); Serial.println(queue_len());
  Serial.print("queue_aft="); Serial.print(queue_aft);
  Serial.print(", queue_fore="); Serial.println(queue_fore);


////////////////////////////////////////////////////////////////////////////////

unsigned long VfoFrequency;   // VFO frequency (Hz)
byte VfoSelectDigit;          // selected column index, zero at the right


////////////////////////////////////////////////////////////////////////////////
