mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 16:08:10 +01:00
[nextion] Fix type on sprintf for IDF v5 (#6758)
This commit is contained in:
parent
b06e0746f5
commit
d410cc4f7b
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ bool Nextion::upload_tft(uint32_t baud_rate, bool exit_reparse) {
|
|||
// Tells the Nextion the content length of the tft file and baud rate it will be sent at
|
||||
// Once the Nextion accepts the command it will wait until the file is successfully uploaded
|
||||
// If it fails for any reason a power cycle of the display will be needed
|
||||
sprintf(command, "whmi-wris %d,%" PRIu32 ",1", this->content_length_, baud_rate);
|
||||
sprintf(command, "whmi-wris %" PRIu32 ",%" PRIu32 ",1", this->content_length_, baud_rate);
|
||||
|
||||
// Clear serial receive buffer
|
||||
ESP_LOGV(TAG, "Clear serial receive buffer");
|
||||
|
|
Loading…
Reference in a new issue