Fix drivertest_watchdog.c:207:30: error: 'struct wdg_state_s' has no member named 'infopath'
Remove the unsupported -p option Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
3e870833ab
commit
99a8c5937c
@ -21,6 +21,7 @@
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <setjmp.h>
|
||||
|
@ -203,9 +203,6 @@ static void parse_commandline(FAR struct wdg_state_s *wdg_state, int argc,
|
||||
strlcpy(wdg_state->devpath, optarg, sizeof(wdg_state->devpath));
|
||||
break;
|
||||
|
||||
case 'p':
|
||||
strlcpy(wdg_state->infopath, optarg,
|
||||
sizeof(wdg_state->infopath));
|
||||
case 'r':
|
||||
OPTARG_TO_VALUE(converted, uint32_t, 10);
|
||||
if (converted < WDG_DEFAULT_TESTCASE ||
|
||||
|
Loading…
Reference in New Issue
Block a user