Skip to content
Snippets Groups Projects
Commit 087d44f6 authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

userspace/wrs_watchdog: don't open HAL's shmem while getting counter


When parameter -g is used there is no need to check other parameters.
Change to avoid waiting for HAL's shmem to be available.

Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent cb42b967
Branches
Tags
No related merge requests found
......@@ -291,7 +291,7 @@ int main(int argc, char *argv[])
break;
case 'g':
show_counter();
break;
exit(0);
case 'n':
port_num = atoi(optarg);
pr_info("Read %d ports from cmdline\n", port_num);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment