Make pinmode for-loop typing more declarative
This commit is contained in:
parent
e61ebc390d
commit
83454e1f38
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ public:
|
|||
: lightPins{PIN...}, lightActions{actionQueueSize},
|
||||
lightControllerTask{exec, "control lights", stackDepth,
|
||||
this, priority, coreID} {
|
||||
for (auto pin : lightPins) {
|
||||
for (int pin : lightPins) {
|
||||
pinMode(pin, OUTPUT);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue