Commit de16cf1
committed
Merge pull request atomvm#604 from UncleGrumpy/gpio_bug_fix
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
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later1 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