mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Activate some clang-tidy checks (#1884)
This commit is contained in:
@@ -12,7 +12,7 @@ void SlowPWMOutput::setup() {
|
||||
}
|
||||
|
||||
void SlowPWMOutput::loop() {
|
||||
unsigned long now = millis();
|
||||
uint32_t now = millis();
|
||||
float scaled_state = this->state_ * this->period_;
|
||||
|
||||
if (now - this->period_start_time_ > this->period_) {
|
||||
|
||||
Reference in New Issue
Block a user