 typedef void (*ItemSelection)(Menu *, int);
 
 // handler for inc/dec of custom item (vfo_RRight, vfo_RLeft events)
-typedef void (*ItemIncDec)(int delta);
+typedef int (*ItemIncDec)(int item_num, int delta);
 
 // structure defining a menu item
 struct MenuItem

  {
    lcd.write(ALLSET_CHAR);
  }
}

//----------------------------------------

          
          // if there's a handler, call it
          // this will probably destroy the curent menu page
          if (menu->items[0]->action != NULL)
          {
            Serial.println("Calling vfo_Click handler");
            Serial.print("menu->items[0]->action="); 
            Serial.print((unsigned long) menu->items[0]->action, HEX);
            Serial.print(", item_num="); Serial.println(item_num);
            (*menu->items[0]->action)(menu->items[0]->menu, item_num);
          }

          menu_draw(menu);    // redraw the menu header
