mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-26 07:38:30 +02:00
Add additional custom lint checks (#790)
This commit is contained in:
@@ -45,9 +45,9 @@ class WaveshareEPaper : public PollingComponent,
|
||||
void reset_() {
|
||||
if (this->reset_pin_ != nullptr) {
|
||||
this->reset_pin_->digital_write(false);
|
||||
delay(200);
|
||||
delay(200); // NOLINT
|
||||
this->reset_pin_->digital_write(true);
|
||||
delay(200);
|
||||
delay(200); // NOLINT
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,7 +144,7 @@ class WaveshareEPaper4P2In : public WaveshareEPaper {
|
||||
// COMMAND PANEL SETTING
|
||||
this->command(0x00);
|
||||
|
||||
delay(100);
|
||||
delay(100); // NOLINT
|
||||
|
||||
// COMMAND POWER SETTING
|
||||
this->command(0x01);
|
||||
@@ -153,7 +153,7 @@ class WaveshareEPaper4P2In : public WaveshareEPaper {
|
||||
this->data(0x00);
|
||||
this->data(0x00);
|
||||
this->data(0x00);
|
||||
delay(100);
|
||||
delay(100); // NOLINT
|
||||
|
||||
// COMMAND POWER OFF
|
||||
this->command(0x02);
|
||||
|
||||
Reference in New Issue
Block a user