Skip to content

Commit 236be58

Browse files
committed
Removed deprecated interrupt handlers
Fixes #831 #881 #955 #1123 #1140
1 parent a0d9b3b commit 236be58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Servo.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,28 +100,28 @@ static inline void handle_interrupts(timer16_Sequence_t timer, volatile uint16_t
100100
#ifndef WIRING // Wiring pre-defines signal handlers so don't define any if compiling for the Wiring platform
101101
// Interrupt handlers for Arduino
102102
#if defined(_useTimer1)
103-
SIGNAL (TIMER1_COMPA_vect)
103+
ISR(TIMER1_COMPA_vect)
104104
{
105105
handle_interrupts(_timer1, &TCNT1, &OCR1A);
106106
}
107107
#endif
108108

109109
#if defined(_useTimer3)
110-
SIGNAL (TIMER3_COMPA_vect)
110+
ISR(TIMER3_COMPA_vect)
111111
{
112112
handle_interrupts(_timer3, &TCNT3, &OCR3A);
113113
}
114114
#endif
115115

116116
#if defined(_useTimer4)
117-
SIGNAL (TIMER4_COMPA_vect)
117+
ISR(TIMER4_COMPA_vect)
118118
{
119119
handle_interrupts(_timer4, &TCNT4, &OCR4A);
120120
}
121121
#endif
122122

123123
#if defined(_useTimer5)
124-
SIGNAL (TIMER5_COMPA_vect)
124+
ISR(TIMER5_COMPA_vect)
125125
{
126126
handle_interrupts(_timer5, &TCNT5, &OCR5A);
127127
}

0 commit comments

Comments
 (0)