Skip to content

Commit

Permalink
Fix for clangd check
Browse files Browse the repository at this point in the history
  • Loading branch information
nicola02nb committed Oct 20, 2024
1 parent 26f3dd0 commit 8277f55
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ static void print_help()
printf(" --repeat SECS\n"
"\tRepeat command every SECS.\n");
printf("\n");


printf(" --dev-help\n"
"\tThis menu\n");
Expand Down Expand Up @@ -378,7 +377,7 @@ int dev_main(int argc, char* argv[])
return 1;
}

do{
do {
if (send) {
int ret = hid_write(device_handle, (const unsigned char*)sendbuffer, send);

Expand Down Expand Up @@ -437,7 +436,7 @@ int dev_main(int argc, char* argv[])
}
}
sleep(repeat_seconds);
}while(repeat_seconds);
} while (repeat_seconds);

terminate_hid(&device_handle, &hid_path);

Expand Down

0 comments on commit 8277f55

Please sign in to comment.