add get nox/tvoc learning offset

This commit is contained in:
Phat Nguyen
2024-04-22 16:31:21 +07:00
parent b91a3058fc
commit 21d984c95a
2 changed files with 6 additions and 0 deletions

View File

@ -293,3 +293,7 @@ void Sgp41::setNoxLearningOffset(int offset) {
void Sgp41::setTvocLearningOffset(int offset) {
tvocLearnOffset = offset;
}
int Sgp41::getNoxLearningOffset(void) { return noxLearnOffset; }
int Sgp41::getTvocLearningOffset(void) { return tvocLearnOffset; }