Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

adc_oneshot_chan_cfg_t config: The attributes order in example doesn't match the declaration (IDFGH-13395) #14303

Closed
lboue opened this issue Aug 5, 2024 · 0 comments
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally

Comments

@lboue
Copy link
Contributor

lboue commented Aug 5, 2024

The attributes order in example doesn't match the declaration.

oneshot_read example

adc_oneshot_chan_cfg_t config = {
.bitwidth = ADC_BITWIDTH_DEFAULT,
.atten = EXAMPLE_ADC_ATTEN,
};

adc_oneshot.h

typedef struct {
adc_atten_t atten; ///< ADC attenuation
adc_bitwidth_t bitwidth; ///< ADC conversion result bits
} adc_oneshot_chan_cfg_t;

@espressif-bot espressif-bot added the Status: Opened Issue is new label Aug 5, 2024
@github-actions github-actions bot changed the title adc_oneshot_chan_cfg_t config: The attributes order in example doesn't match the declaration adc_oneshot_chan_cfg_t config: The attributes order in example doesn't match the declaration (IDFGH-13395) Aug 5, 2024
@espressif-bot espressif-bot added Status: Reviewing Issue is being reviewed Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: Opened Issue is new Status: Reviewing Issue is being reviewed labels Aug 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants