mirror of
https://github.com/esphome/esphome.git
synced 2025-01-08 13:51:43 +01:00
Update hdc2010.cpp
This commit is contained in:
parent
9c76910814
commit
a34e6ccefd
1 changed files with 2 additions and 3 deletions
|
@ -93,7 +93,7 @@ void HDC2010Component::update() {
|
|||
|
||||
// void HDC2010::enableHeater()
|
||||
// {
|
||||
// uint16_t configContents; //Stores current contents of config register
|
||||
// uint16_t configContents; //Stores current contents of config register
|
||||
|
||||
// configContents = readReg(CONFIG);
|
||||
|
||||
|
@ -106,14 +106,13 @@ void HDC2010Component::update() {
|
|||
|
||||
// void HDC2010::disableHeater()
|
||||
// {
|
||||
// uint16_t configContents; //Stores current contents of config register
|
||||
// uint16_t configContents; //Stores current contents of config register
|
||||
|
||||
// configContents = readReg(CONFIG);
|
||||
|
||||
// //set bit 3 to 0 to disable heater (all other bits 1)
|
||||
// configContents = (configContents & 0xF7);
|
||||
// writeReg(CONFIG, configContents);
|
||||
|
||||
// }
|
||||
|
||||
float HDC2010Component::get_setup_priority() const { return setup_priority::DATA; }
|
||||
|
|
Loading…
Reference in a new issue