Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -81,7 +81,7 @@ void init() { | ... | @@ -81,7 +81,7 @@ void init() { |
81 | } | 81 | } |
82 | int main(){ | 82 | int main(){ |
83 | init(); | 83 | init(); |
84 | - if (wiringPiISR(Keypad[0], INT_EDGE_FALLING, &start < 0) { | 84 | + if (wiringPiISR(Keypad[0], INT_EDGE_FALLING, &start) < 0) { |
85 | return 1; | 85 | return 1; |
86 | } | 86 | } |
87 | if (wiringPiISR(Keypad[1], INT_EDGE_FALLING, &stop) < 0) { | 87 | if (wiringPiISR(Keypad[1], INT_EDGE_FALLING, &stop) < 0) { | ... | ... |
-
Please register or login to post a comment