Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

bug: dynamic bit count selection doesn't work #1

Open
Ciusss89 opened this issue Nov 23, 2019 · 0 comments
Open

bug: dynamic bit count selection doesn't work #1

Ciusss89 opened this issue Nov 23, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@Ciusss89
Copy link
Owner

  1. file energy_meter/core.h
  2. When the ADC_RES is equal to ADC_RES_10BIT the first entry is always true. Thas is wrong.
#define ADC_RES         ADC_RES_12BIT   /* ADC resolution */
#if ADC_RES == ADC_RES_12BIT
#define ADC_BIT         12U
#elif ADC_RES == ADC_RES_10BIT
#define ADC_BIT        10U
#endif
@Ciusss89 Ciusss89 added the bug Something isn't working label Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant