File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 23
23
// The servos are pulsed in the background using the value most recently
24
24
// written using the write() method.
25
25
//
26
- // This library uses time0 and timer1.
26
+ // This library uses timer0 and timer1.
27
27
// Note that timer0 may be repurposed when the first servo is attached.
28
28
//
29
29
// Timers are seized as needed in groups of 12 servos - 24 servos use two
Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ static void initISR(ServoTimerSequence timerId)
167
167
#endif
168
168
}
169
169
170
+ static void finISR (ServoTimerSequence timerId) ICACHE_RAM_ATTR;
170
171
static void finISR (ServoTimerSequence timerId)
171
172
{
172
173
#if !defined (SERVO_EXCLUDE_TIMER0)
@@ -180,6 +181,7 @@ static void finISR(ServoTimerSequence timerId)
180
181
}
181
182
182
183
// returns true if any servo is active on this timer
184
+ static boolean isTimerActive (ServoTimerSequence timerId) ICACHE_RAM_ATTR;
183
185
static boolean isTimerActive (ServoTimerSequence timerId)
184
186
{
185
187
for (uint8_t channel = 0 ; channel < SERVOS_PER_TIMER; channel++) {
You can’t perform that action at this time.
0 commit comments