mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-14 23:21:31 +10:00
fixing up setmenu docblocks
This commit is contained in:
+13
-1
@@ -2003,7 +2003,10 @@ void WiFiManager::setShowInfoErase(boolean enabled){
|
||||
|
||||
/**
|
||||
* set menu items and order
|
||||
* if param is present, it will be removed from wifi
|
||||
* if param is present in menu , params will be removed from wifi page automatically
|
||||
* eg.
|
||||
* const char * menu[] = {"wifi","setup","sep","info","exit"};
|
||||
* WiFiManager.setMenu(menu);
|
||||
* @since $dev
|
||||
* @param uint8_t menu[] array of menu ids
|
||||
*/
|
||||
@@ -2021,6 +2024,15 @@ void WiFiManager::setMenu(const char * menu[], uint8_t size){
|
||||
// DEBUG_WM(getMenuOut());
|
||||
}
|
||||
|
||||
/**
|
||||
* setMenu with vector
|
||||
* eg.
|
||||
* std::vector<const char *> menu = {"wifi","setup","sep","info","exit"};
|
||||
* WiFiManager.setMenu(menu);
|
||||
* tokens can be found in _menutokens array in strings_en.h
|
||||
* @shiftIncrement $dev
|
||||
* @param {[type]} std::vector<const char *>& menu [description]
|
||||
*/
|
||||
void WiFiManager::setMenu(std::vector<const char *>& menu){
|
||||
// DEBUG_WM(DEBUG_VERBOSE,"setmenu vector");
|
||||
_menuIds.clear();
|
||||
|
||||
Reference in New Issue
Block a user