fix
This commit is contained in:
@ -118,7 +118,7 @@ void init() {
|
||||
digitalWrite(CTRL_OUT, 0);
|
||||
|
||||
pinMode(INTR_IN, INPUT);
|
||||
wiringPiISR(INTR_IN, INT_EDGE_FALLING, isr);
|
||||
wiringPiISR(INTR_IN, INT_EDGE_RISING, isr);
|
||||
}
|
||||
|
||||
void initCounter() {
|
||||
|
Reference in New Issue
Block a user