This commit is contained in:
2019-10-04 14:15:05 +02:00
parent 4fa12d2ec7
commit c04897fe05

View File

@ -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() {