Skip to content

Commit

Permalink
#20 Add delay after TFT upload
Browse files Browse the repository at this point in the history
  • Loading branch information
olicooper committed Sep 14, 2024
1 parent f20ad32 commit e1b9e97
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ bool NSPanelLovelace::upload_end_(bool successful) {

// Make sure we are running with the configured baud rate
// so we can communicate normally with the TFT again
vTaskDelay(pdMS_TO_TICKS(2000)); // NOLINT
if (this->parent_->get_baud_rate() != this->default_baud_rate_) {
this->parent_->set_baud_rate(this->default_baud_rate_);
this->parent_->load_settings();
Expand Down

0 comments on commit e1b9e97

Please sign in to comment.