1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

Merge pull request #649 from Makuna/interrupts

Interrupt cleanup
This commit is contained in:
Ivan Grokhotkov
2015-08-05 08:04:00 -04:00
6 changed files with 69 additions and 22 deletions

View File

@ -59,8 +59,6 @@ static uint8_t s_servoCount = 0; // the total number of attached s_se
//------------------------------------------------------------------------------
template <class T> void Servo_Handler(T* timer)
{
noInterrupts();
uint8_t servoIndex;
// clear interrupt
@ -101,8 +99,6 @@ template <class T> void Servo_Handler(T* timer)
timer->setEndOfCycle();
}
interrupts();
}
static void initISR(ServoTimerSequence timerId)