digistump / DigistumpArduino

Files to add Digistump support (Digispark, Pro, DigiX) to Arduino 1.6.X (1.6.5+)
934 stars 377 forks source link

Fix incorrect Timer 0 interrupt setup for ATtiny85 in IRLib #103

Closed adamszadkowski closed 3 years ago

adamszadkowski commented 4 years ago

Incorrect setup of interrupt was causing incorrect behavior when using delay() function. It was not delaying by given time. This simple change is fixing the issue.

ArminJo commented 4 years ago

This pull request is included in the new version 1.6.8 of Digistump avr core.