diff options
author | iabdalkader <i.abdalkader@gmail.com> | 2023-10-25 09:05:54 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-11-03 18:20:31 +1100 |
commit | b41055a5a3e1c51ee7ea274da4744dd47c211b3a (patch) | |
tree | cf80bcd7f03c78a5787add0f532c59af19788c56 /examples/usercmodule/cppexample/micropython.cmake | |
parent | d95f5aa01131f3aa669867ebdde391f9db277846 (diff) |
rp2/machine_adc: Refactor channel/pin validation code.
This patch ensures that integer channel numbers passed to the ADC
constructor (including temperature sensor) are interpreted as raw
channel numbers, and not cause any GPIO pins to be initialized.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Diffstat (limited to 'examples/usercmodule/cppexample/micropython.cmake')
0 files changed, 0 insertions, 0 deletions