[epaper_spi] Do not yield on the final row of a T133A01 transfer phase (#17709)

This commit is contained in:
zerafachris
2026-08-07 03:34:33 +10:00
committed by GitHub
parent 3221ed2bad
commit 4ccf4210be
3 changed files with 135 additions and 2 deletions
@@ -311,9 +311,12 @@ bool HOT EPaperT133A01::transfer_data() {
this->current_data_index_ = half;
if (millis() - start_time > MAX_TRANSFER_TIME) {
return false;
break;
}
}
if (half < total_rows) {
return false;
}
ESP_LOGD(TAG, "CS phase done");
this->disable();
this->cs_pin_->digital_write(true); // deselect CS
@@ -346,9 +349,12 @@ bool HOT EPaperT133A01::transfer_data() {
this->current_data_index_ = half;
if (millis() - start_time > MAX_TRANSFER_TIME) {
return false;
break;
}
}
if (half < total_rows * 2) {
return false;
}
ESP_LOGD(TAG, "CS1 phase done");
this->disable();
this->cs1_pin_->digital_write(true); // deselect CS1