Commit 640c9a1
committed
core: Limit the value of analog(Read|Write)Resolution
If the value of analogWriteResolution is 0, there is a risk of
division by zero in max64 processing, so the value is limited.
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>1 parent 00c4d67 commit 640c9a1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
| |||
0 commit comments