Skip to content

Commit 4cd2303

Browse files
Martonirgerganov
authored andcommitted
avoid warning
1 parent b749317 commit 4cd2303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scythe.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void read_pedals()
141141
//debug_arr(response, 8);
142142

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

0 commit comments

Comments
 (0)