mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
%u -> %lu for buffer-half-size
This commit is contained in:
parent
d4cce11a39
commit
7cf9d3948a
1 changed files with 1 additions and 1 deletions
|
@ -1522,7 +1522,7 @@ void GDEY075Z08::calculate_crcs_(bool full_sync) {
|
||||||
// reset first and last X segment so we can recalculate it here.
|
// reset first and last X segment so we can recalculate it here.
|
||||||
this->first_segment_x_ = this->seg_x_ + 1;
|
this->first_segment_x_ = this->seg_x_ + 1;
|
||||||
this->last_segment_x_ = 0;
|
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,
|
ESP_LOGD(TAG, "width_b: %u, height_px: %u, segment_size: %u, buffer_half_size: %lu, seg_x_: %u, seg_y_: %u", width_b,
|
||||||
height_px, segment_size, buffer_half_size, this->seg_x_, this->seg_y_);
|
height_px, segment_size, buffer_half_size, this->seg_x_, this->seg_y_);
|
||||||
ESP_LOGD(TAG, "Entering CRC calculation Loop");
|
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_y = 0; seg_y < this->seg_y_; seg_y++) { // vertically iterate through the number of lines (px)
|
||||||
|
|
Loading…
Reference in a new issue