From b735c1cd92a76d1a54a8f7a931caf51d7eea0a3c Mon Sep 17 00:00:00 2001 From: DJGummikuh Date: Wed, 14 Aug 2024 20:56:56 +0000 Subject: [PATCH] Who can be expected to know stuff like this? xD --- esphome/components/waveshare_epaper/waveshare_epaper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/waveshare_epaper/waveshare_epaper.cpp b/esphome/components/waveshare_epaper/waveshare_epaper.cpp index 810f733645..6a4d5cf1ee 100644 --- a/esphome/components/waveshare_epaper/waveshare_epaper.cpp +++ b/esphome/components/waveshare_epaper/waveshare_epaper.cpp @@ -1522,8 +1522,8 @@ void GDEY075Z08::calculate_crcs_(bool full_sync) { // reset first and last X segment so we can recalculate it here. this->first_segment_x_ = this->seg_x_ + 1; this->last_segment_x_ = 0; - ESP_LOGD(TAG, "width_b: %u, height_px: %u, segment_size: %u, buffer_half_size: %u, seg_x_: %u, seg_y_: %u", width_b, - height_px, segment_size, buffer_half_size, this->seg_x_, this->seg_y_); + ESP_LOGD(TAG, "width_b: %u, height_px: %u, segment_size: %u, buffer_half_size: %" PRIu32 ", seg_x_: %u, seg_y_: %u", + width_b, height_px, segment_size, buffer_half_size, this->seg_x_, this->seg_y_); ESP_LOGD(TAG, "Entering CRC calculation Loop"); for (seg_y = 0; seg_y < this->seg_y_; seg_y++) { // vertically iterate through the number of lines (px) for (seg_x = 0; seg_x < this->seg_x_; seg_x++) { // horizontally iterate through number of columns (px)