From a34e6ccefdeb93868851161bbf0254cae549fc4f Mon Sep 17 00:00:00 2001 From: optimusprimespace <62800678+optimusprimespace@users.noreply.github.com> Date: Fri, 10 May 2024 12:42:11 -0400 Subject: [PATCH] Update hdc2010.cpp --- esphome/components/hdc2010/hdc2010.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/esphome/components/hdc2010/hdc2010.cpp b/esphome/components/hdc2010/hdc2010.cpp index 4635f48853..9bbd885a20 100755 --- a/esphome/components/hdc2010/hdc2010.cpp +++ b/esphome/components/hdc2010/hdc2010.cpp @@ -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; }