Apply loop shorthand macros (#17159)
This commit is contained in:
1 parent
a96be32fae
commit
118bd2f8b2
93 files changed
+465
-505
No files matched your search
@@ -90,7 +90,7 @@
|
||||
|
||||
inline void spin_photo_pin() {
|
||||
static constexpr uint32_t sequence[] = PHOTO_PULSES_US;
|
||||
for (uint8_t i = 0; i < COUNT(sequence); i++)
|
||||
LOOP_L_N(i, COUNT(sequence))
|
||||
pulse_photo_pin(sequence[i], !(i & 1));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user