That fixed the bulk of the errors, there's still some errors hanging around.
'error: cannot convert 'const char*[15]' to 'const char **' for argument to 'byte menu_selection(const char**, byte)'
The function is used to display a menu produced from an array:
Line 3322: byte menu_selection(char ** menu, byte arraySize)
I'm using it as below:
byte menu_selection(const char ** menu, byte arraySize)
{
byte selection = 1; // Menu title takes up the first string in the list so skip it
byte screenChars = 0; // Characters currently sent to screen
byte menuItem = 0; // Menu items past current selection
boolean exitMenu = false;
boolean forceExit = false;
// Note: values are changed with left/right and set with middle
// Default selection is always the first selection, which should be 'Exit'
lcd.clear();
lcd.print((char *)pgm_read_word(&(menu[0])));
forceExit = delay_reset_button(); // make sure to clear button
The array being passed in is as below:
const char displayMenu[6][13] PROGMEM = {"Display menu", "Exit", "Contrast", "Metric", "Fuel/Hour", "Font"};
const char adjustMenu[11][12] PROGMEM = {"Adjust menu", "Exit", "Tank Size", "Fuel Cost", "Fuel %", "Speed %", "Out Wait", "Trip Wait", "Tank Used", "Tank Dist", "Eng Disp"};
They were defined as:
prog_char *adjustMenu[] PROGMEM = {"Adjust menu", "Exit", "Tank Size", "Fuel Cost", "Fuel %", "Speed %", "Out Wait", "Trip Wait", "Tank Used", "Tank Dist", "Eng Disp", };