Skip to content

Conversation

@bugadani
Copy link
Contributor

@bugadani bugadani commented May 22, 2023

This PR fixes a very well hidden bug where both ADCs configure the attenuation values of ADC1.

cc #550 #326

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch, that's a nasty one. I even had to take a double glace to actually see the change 😅. Nice spot!

Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for spotting it!

@JurajSadel JurajSadel merged commit caec716 into esp-rs:main May 22, 2023
@bugadani bugadani deleted the typo branch May 22, 2023 10:42
SergioGasquez pushed a commit to SergioGasquez/esp-hal that referenced this pull request Jun 9, 2023
* Set ADC attenuation for the correct ADC instance

* Add to changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants