 void show_menu(struct Menu *menu)
 {
   int item_index = 0;
-  
+
   Serial.print("show_menu("); Serial.print(menu->title); Serial.println(")");
   // update the menu display
   Serial.print("Calling menu->display: menu->title=");

// A final "Hz" is written.
//----------------------------------------------------------

void print_freq(unsigned long freq, int sel_col, int row)
{
  char buf [MAX_FREQ_CHARS];
  int index = MAX_FREQ_CHARS - sel_col - 1;

  EEPROM.get(AddressSelDigit, VfoSelectDigit);
}

// given slot number, return freq/offset
void get_slot(int slot_num, Frequency &freq, byte &offset)
{
  Serial.print("get_slot: slot_num="); Serial.println(slot_num);

  int freq_address = SaveFreqBase + slot_num * SaveFreqSize;
  int offset_address = SaveOffsetBase + slot_num * SaveOffsetSize;

  Serial.print("SaveFreqBase="); Serial.print(SaveFreqBase);
  Serial.print(", freq_address="); Serial.println(freq_address);

  EEPROM.get(freq_address, freq);

  Serial.print("SaveOffsetBase="); Serial.print(SaveOffsetBase);
  Serial.print(", offset_address="); Serial.println(offset_address);

  EEPROM.get(offset_address, offset);
}

// put frequency/offset into given slot number
void put_slot(int slot_num, Frequency freq, byte offset)
{
  Serial.print("put_slot: slot_num="); Serial.println(slot_num);

  int freq_address = SaveFreqBase + slot_num * SaveFreqSize;
  int offset_address = SaveOffsetBase + slot_num * SaveOffsetSize;

  Serial.print("SaveFreqBase="); Serial.print(SaveFreqBase);
  Serial.print(", freq_address="); Serial.println(freq_address);

  EEPROM.put(freq_address, freq);

  Serial.print("SaveOffsetBase="); Serial.print(SaveOffsetBase);
  Serial.print(", offset_address="); Serial.println(offset_address);

  EEPROM.put(offset_address, offset);
}

// print all EEPROM saved data to console
void dump_eeprom()
{
  Frequency ulong;
  byte offset;

  EEPROM.get(AddressFreq, ulong);
  EEPROM.get(AddressSelDigit, offset);
  Serial.println("=================================================");
  Serial.print("dump_eeprom: VfoFrequency="); Serial.print(ulong);
  Serial.print(", AddressSelDigit="); Serial.println(offset);

  for (int i = 0; i < NumSaveSlots; ++i)
  {
    get_slot(i, ulong, offset);
    Serial.print(i); Serial.print(": ");
    Serial.print(ulong); Serial.print(", ");
    Serial.println(offset);
  }

  Serial.println("=================================================");
}

void get_vfo_freq_offset(Frequency &freq, byte &offset)
{
  EEPROM.get(AddressFreq, freq);
  EEPROM.get(AddressSelDigit, offset);
}

////////////////////////////////////////////////////////////////////////////////
// Code to handle the DDS-60
////////////////////////////////////////////////////////////////////////////////

void update_dds60(Frequency freq)
{

}
