Commit 7e3deb8
modify hal_apply_direction/1 for pins not activated "in" by simply exporting
There are pins that have "in" direction after export, but not be activated.
These pins will not become active unless they are overwritten again.
Therefore, modified it to write always.
WHY: not apply this modifying for "out"
Because overwriting "out" has a side effect of changing the GPIO value.1 parent a52e973 commit 7e3deb8
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 279 | + | |
283 | 280 | | |
284 | 281 | | |
285 | 282 | | |
| |||
0 commit comments