Skip to content

Commit

Permalink
avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Martoni committed Mar 18, 2024
1 parent b749317 commit a7390c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scythe.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void read_pedals()
//debug_arr(response, 8);

printf("[switch %d]: ", i + 1);
if (response[1] >= 0x80 && response[1] <= 0x82 || response[1] == 0x84) {
if ((response[1] >= 0x80 && response[1] <= 0x82) || response[1] == 0x84) {
print_mouse(response);
} else if (response[1] == 0xff) {
printf("undefined");
Expand Down

0 comments on commit a7390c2

Please sign in to comment.