Skip to content

Conversation

rubenstar
Copy link

@rubenstar rubenstar commented Jun 14, 2024

Currently, the header for analogReference(...) is defined in ArduinoCore-API (api/Common.h).

My proposal is to move this enum to ArduinoCore-API and align the naming to the scheme that is used there.

This comes with the additional benefit of fixing a bug where the header that is defined over at ArduinoCore-API takes uint8_t as argument type, which leads to a compilation warning when compiling together with ArduinoCore-samd.

I filed a corresponding PR there too:
arduino/ArduinoCore-API#236

Moved to ArduinoCore-API and renamed to AnalogReference
@CLAassistant
Copy link

CLAassistant commented Jun 14, 2024

CLA assistant check
All committers have signed the CLA.

@rubenstar
Copy link
Author

This unfortunately breaks a lot of the sketches as the corresponding change has not yet landed in ArduinoCore-API :(

@rubenstar rubenstar closed this Jun 28, 2024
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.

2 participants