Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

63 docs: menu_ is now documented #100

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
},
"particle.firmwareVersion": "5.3.0",
"particle.targetPlatform": "tracker",
"particle.targetDevice": "",
willcyber marked this conversation as resolved.
Show resolved Hide resolved
"cmake.configureOnOpen": false,
"C_Cpp.default.cppStandard": "c++11",
"C_Cpp.default.cStandard": "c11",
Expand Down
9 changes: 7 additions & 2 deletions src/fileCLI/fileCLI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,15 @@ class FileCLI{
DIR* dir_stack[FILE_CLI_MAX_DIR_DEPTH];
char path_stack[FILE_CLI_MAX_DIR_DEPTH][NAME_MAX];
int current_dir;

/**
* @brief Structure representing a command menu entry for FileCLI.
*
*/
typedef struct menu_
{
const char cmd;
void (FileCLI::*fn)(void);
const char cmd; /**< A character representing a user command. */
willcyber marked this conversation as resolved.
Show resolved Hide resolved
void (FileCLI::*fn)(void); /**< A pointer to a FileCLI member function. */
willcyber marked this conversation as resolved.
Show resolved Hide resolved
} menu_t;
static menu_t fsExplorerMenu[];
/**
Expand Down
Loading