mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
clang tidy
This commit is contained in:
parent
18d96f4d34
commit
5d287ebe34
1 changed files with 2 additions and 3 deletions
|
@ -8,8 +8,8 @@ namespace esphome {
|
||||||
namespace waveshare_epaper {
|
namespace waveshare_epaper {
|
||||||
|
|
||||||
class WaveshareEPaper : public display::DisplayBuffer,
|
class WaveshareEPaper : public display::DisplayBuffer,
|
||||||
public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW,
|
public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW,
|
||||||
spi::CLOCK_PHASE_LEADING, spi::DATA_RATE_2MHZ> {
|
spi::CLOCK_PHASE_LEADING, spi::DATA_RATE_2MHZ> {
|
||||||
public:
|
public:
|
||||||
void set_dc_pin(GPIOPin *dc_pin) { dc_pin_ = dc_pin; }
|
void set_dc_pin(GPIOPin *dc_pin) { dc_pin_ = dc_pin; }
|
||||||
float get_setup_priority() const override;
|
float get_setup_priority() const override;
|
||||||
|
@ -783,7 +783,6 @@ class WaveshareEPaper13P3InK : public WaveshareEPaper {
|
||||||
int get_height_internal() override;
|
int get_height_internal() override;
|
||||||
|
|
||||||
uint32_t idle_timeout_() override;
|
uint32_t idle_timeout_() override;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generic Waveshare e-paper component that
|
// Generic Waveshare e-paper component that
|
||||||
|
|
Loading…
Reference in a new issue