Apply loop shorthand macros (#17159)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2020-03-13 23:18:16 -05:00
1 parent a96be32fae
commit 118bd2f8b2
93 files changed
+465 -505

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ uint8_t ServoCount = 0; // the total number of attached
static boolean isTimerActive(timer16_Sequence_t timer) {
// returns true if any servo is active on this timer
for (uint8_t channel = 0; channel < SERVOS_PER_TIMER; channel++) {
LOOP_L_N(channel, SERVOS_PER_TIMER) {
if (SERVO(timer, channel).Pin.isActive)
return true;
}