From eeec0621dd12ebe12b9ecf10643cf817c8c8a562 Mon Sep 17 00:00:00 2001 From: DJGummikuh Date: Tue, 13 Aug 2024 20:04:21 +0000 Subject: [PATCH] Next round of CI improvements --- esphome/components/waveshare_epaper/waveshare_epaper.cpp | 2 +- esphome/components/waveshare_epaper/waveshare_epaper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/waveshare_epaper/waveshare_epaper.cpp b/esphome/components/waveshare_epaper/waveshare_epaper.cpp index 934d9c75d1..ec0c31700e 100644 --- a/esphome/components/waveshare_epaper/waveshare_epaper.cpp +++ b/esphome/components/waveshare_epaper/waveshare_epaper.cpp @@ -1707,7 +1707,7 @@ void HOT GDEY075Z08::display() { return; } ESP_LOGD(TAG, "Found a change, initializing display for partial backup"); - unsigned int x_start, y_start, x_end, y_end, x_start_b, x_end_b; + uint16_t x_start, y_start, x_end, y_end, x_start_b, x_end_b; x_start = (this->get_width_internal() / seg_x_) * first_segment_x_; x_end = (this->get_width_internal() / seg_x_) * (last_segment_x_ + 1); y_start = (this->get_height_internal() / seg_y_) * first_segment_y_; diff --git a/esphome/components/waveshare_epaper/waveshare_epaper.h b/esphome/components/waveshare_epaper/waveshare_epaper.h index 8ba212baa2..0627947d7e 100644 --- a/esphome/components/waveshare_epaper/waveshare_epaper.h +++ b/esphome/components/waveshare_epaper/waveshare_epaper.h @@ -255,7 +255,7 @@ class GDEY075Z08 : public WaveshareEPaperBWR { uint16_t last_segment_x_ = 0; uint16_t last_segment_y_ = 0; uint16_t *checksums_ = nullptr; - void calculate_crcs_(bool fullSync); + void calculate_crcs_(bool full_sync); bool waiting_for_idle_ = false; uint32_t idle_timeout_() override; void reset_();