From 9526d54c91d8a6ab24ab205aa114fbc7ef57941b Mon Sep 17 00:00:00 2001 From: optimusprimespace <62800678+optimusprimespace@users.noreply.github.com> Date: Fri, 10 May 2024 12:51:30 -0400 Subject: [PATCH] Update hdc2010.cpp --- esphome/components/hdc2010/hdc2010.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/esphome/components/hdc2010/hdc2010.cpp b/esphome/components/hdc2010/hdc2010.cpp index dda50c55d3..22bd0e4a67 100755 --- a/esphome/components/hdc2010/hdc2010.cpp +++ b/esphome/components/hdc2010/hdc2010.cpp @@ -93,22 +93,22 @@ 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); +// configContents = readReg(CONFIG); -// //set bit 3 to 1 to enable heater -// configContents = (configContents | 0x08); +// //set bit 3 to 1 to enable heater +// configContents = (configContents | 0x08); -// writeReg(CONFIG, configContents); +// writeReg(CONFIG, configContents); // } // void HDC2010::disableHeater() // { -// uint16_t configContents; //Stores current contents of config register +// uint16_t configContents; //Stores current contents of config register -// configContents = readReg(CONFIG); +// configContents = readReg(CONFIG); // //set bit 3 to 0 to disable heater (all other bits 1) // configContents = (configContents & 0xF7);