invalid callback identifier fix

This commit is contained in:
Václav Šmejkal 2024-11-14 17:58:16 +01:00
parent 393c13eeb4
commit db89f7229d
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -20,7 +20,7 @@ void setup()
//INIT PINS
pinMode(INPUT_PIN, INPUT);
attachInterrupt(digitalPinToInterrupt(INPUT_PIN), cb, FALLING);
attachInterrupt(digitalPinToInterrupt(INPUT_PIN), increment_counts, FALLING);
}
int last_counts = -1;