Skip to content

Commit 71984b9

Browse files
committed
Revert "Don't set values per default"
This reverts commit 05785d4.
1 parent 05785d4 commit 71984b9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/PPMEncoder.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ void PPMEncoder::begin(uint8_t pin, uint8_t ch) {
1919
numChannels = ch;
2020
outputPin = pin;
2121

22+
for (uint8_t ch = 0; ch < numChannels; ch++) {
23+
setChannelPercent(ch, 0);
24+
}
2225

2326
TCCR1A = 0;
2427

0 commit comments

Comments
 (0)