summaryrefslogtreecommitdiff
path: root/examples/usercmodule/cppexample/micropython.mk
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2023-10-25 09:05:54 +0200
committerDamien George <damien@micropython.org>2023-11-03 18:20:31 +1100
commitb41055a5a3e1c51ee7ea274da4744dd47c211b3a (patch)
treecf80bcd7f03c78a5787add0f532c59af19788c56 /examples/usercmodule/cppexample/micropython.mk
parentd95f5aa01131f3aa669867ebdde391f9db277846 (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.mk')
0 files changed, 0 insertions, 0 deletions