Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rp2/machine_adc: Only initialise the ADC periph if not already enabled.
Otherwise it resets the ADC peripheral each time a new ADC object is constructed, which can reset other state that has already been set up. See issue #6833. Signed-off-by: Damien George <damien@micropython.org>
- Loading branch information