Skip to content

Commit 69a8c57

Browse files
committed
solox: Delete pinMode statement, breaks PWM
1 parent 821a875 commit 69a8c57

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

udoo/solox/variants/udooneo/wiring_analog.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,6 @@ void analogWrite(uint32_t ulPin, uint32_t ulValue) {
183183

184184
if (ulPin > ANALOG_WRITE_HIGHEST_NUMBER_PIN) return;
185185

186-
// for compatibility with arduino sketch
187-
pinMode(ulPin, INPUT);
188-
189186
uint16_t pwmChn = ardPinToPwmChn[ulPin];
190187
if (pwmChn == 255) return;
191188

0 commit comments

Comments
 (0)