Commit f0d895b
committed
Fix esp32 gpio:set_level/3 and gpio:digital_write/2
Fixes a problem in the esp32 gpio driver where if a numeric level is used
(`0` or `1`) rather than atoms (`low` or `high`) the numeric input would be
silently ignored.
Closes issue atomvm#584
Signed-off-by: Winford <[email protected]>1 parent c73a877 commit f0d895b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments