Commit 78258cb
analogWrite - don't fault if you pass in pin number that is not setup for PWM
The code was already there, but before it checked that the index was valid
it first checked if the pwm was ready, So moved the check up before that.1 parent b82fb54 commit 78258cb
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
0 commit comments