use COMMAND_HELPER for command helper functions
Define the numerous helpers that inherit command handler parameters using the COMMAND_HELPER macro.
This commit is contained in:
@@ -462,9 +462,7 @@ COMMAND_HANDLER(parport_handle_write_on_exit_command)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int
|
||||
parport_handle_parport_toggling_time_command(struct command_context_s *cmd_ctx,
|
||||
char *cmd, char **args, int argc)
|
||||
COMMAND_HANDLER(parport_handle_parport_toggling_time_command)
|
||||
{
|
||||
if (argc == 1) {
|
||||
uint32_t ns;
|
||||
|
||||
Reference in New Issue
Block a user