mirror of
https://github.com/esphome/esphome.git
synced 2025-03-16 07:38:17 +00:00
Fix lint issues
This commit is contained in:
parent
c11e92f295
commit
75d2de79d8
@ -11,9 +11,6 @@ static const uint16_t SHTCX_COMMAND_WAKEUP = 0x3517;
|
||||
static const uint16_t SHTCX_COMMAND_READ_ID_REGISTER = 0xEFC8;
|
||||
static const uint16_t SHTCX_COMMAND_SOFT_RESET = 0x805D;
|
||||
static const uint16_t SHTCX_COMMAND_POLLING_H = 0x7866;
|
||||
//static const uint16_t SHTCX_COMMAND_READ_STATUS = 0xF32D;
|
||||
//static const uint16_t SHTCX_COMMAND_CLEAR_STATUS = 0x3041;
|
||||
|
||||
|
||||
void SHTCXComponent::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Setting up SHTCx...");
|
||||
|
@ -7,10 +7,7 @@
|
||||
namespace esphome {
|
||||
namespace shtcx {
|
||||
|
||||
enum SHTCXType {
|
||||
SHTCX_TYPE_SHTC1 = 0,
|
||||
SHTCX_TYPE_SHTC3
|
||||
};
|
||||
enum SHTCXType { SHTCX_TYPE_SHTC1 = 0, SHTCX_TYPE_SHTC3 };
|
||||
|
||||
/// This class implements support for the SHT3x-DIS family of temperature+humidity i2c sensors.
|
||||
class SHTCXComponent : public PollingComponent, public i2c::I2CDevice {
|
||||
|
Loading…
x
Reference in New Issue
Block a user