Commit c429735
Use pbio_port_get_analog_value for touch sensor detection
Replaced direct dcm access with proper abstraction layer as suggested
in code review. This avoids resetting the dcm and uses the intended API.
Co-authored-by: dlech <963645+dlech@users.noreply.github.com>1 parent 65f689e commit c429735
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments