ESP compilation fixed

This commit is contained in:
2019-04-30 15:12:41 +03:00
parent 7cb0492a30
commit bd47e11a47
3 changed files with 21 additions and 12 deletions

View File

@@ -115,13 +115,16 @@ void Input::setup()
if (!isValid() || (!root)) return;
#ifndef CSSHDC_DISABLE
in_ccs811 ccs811(this);
in_hdc1080 hdc1080(this);
if (inType == IN_CCS811)
{
in_ccs811 ccs811(this);
ccs811.Setup(pin);
}
else if (inType == IN_HDC1080)
{
in_hdc1080 hdc1080(this);
hdc1080.Setup(pin);
}
// TODO rest types setup
#endif