-
Notifications
You must be signed in to change notification settings - Fork 120
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
Apply temperature and humidity correction based on configuration #277
Conversation
From local and cloud
src/AgConfigure.cpp
Outdated
@@ -33,6 +33,13 @@ const char *PM_CORRECTION_ALGORITHM_NAMES[] = { | |||
[SLR_PMS5003_20240104] = "slr_PMS5003_20240104", | |||
}; | |||
|
|||
const char *TEMP_HUM_CORRECTION_ALGORITHM_NAMES[] = { | |||
[CA_TH_UNKNOWN] = "-", // This is only to pass "non-trivial designated initializers" error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what CA & TH means maybe better avoid abbreviations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
COR_ALGO_TEMP_HUM_ ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Changes