From 38dfab11b49b9096f63681d286eb7e95de2aca07 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sun, 13 Oct 2019 13:51:34 +0200 Subject: [PATCH] Fix dev branch --- esphome/components/as3935_spi/as3935_spi.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/components/as3935_spi/as3935_spi.cpp b/esphome/components/as3935_spi/as3935_spi.cpp index 97847de080..73752a8ee0 100644 --- a/esphome/components/as3935_spi/as3935_spi.cpp +++ b/esphome/components/as3935_spi/as3935_spi.cpp @@ -11,7 +11,6 @@ void SPIAS3935Component::setup() { this->spi_setup(); ESP_LOGI(TAG, "SPI setup finished!"); AS3935Component::setup(); - } void SPIAS3935Component::dump_config() { @@ -37,7 +36,7 @@ uint8_t SPIAS3935Component::read_register(uint8_t reg) { this->write_byte(reg |= SPI_READ_M); value = this->read_byte(); // According to datsheet, the chip select must be written HIGH, LOW, HIGH - // to correctly end the READ command. + // to correctly end the READ command. this->cs_->digital_write(true); this->cs_->digital_write(false); this->disable();