Browse Source

pwm: fix arduino pin init

pull/2532/head
Maxim Prokhorov 1 year ago
parent
commit
08a31fcbf5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/pwm.cpp

+ 1
- 1
code/espurna/pwm.cpp View File

@ -170,7 +170,7 @@ bool init(const uint8_t* begin, const uint8_t* end) {
});
}
for (auto channel : channels) {
for (auto channel : internal::channels) {
gpioLock(channel.pin);
}


Loading…
Cancel
Save