Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions esphome/components/voice_kit/voice_kit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ bool VoiceKit::dfu_get_version_() {
}

bool VoiceKit::dfu_reboot_() {
const uint8_t reboot_req[] = {DFU_CONTROLLER_SERVICER_RESID, DFU_CONTROLLER_SERVICER_RESID_DFU_REBOOT, 1};
const uint8_t reboot_req[] = {DFU_CONTROLLER_SERVICER_RESID, DFU_CONTROLLER_SERVICER_RESID_DFU_REBOOT, 1, 0};

auto error_code = this->write(reboot_req, 4);
auto error_code = this->write(reboot_req, sizeof(reboot_req));
if (error_code != i2c::ERROR_OK) {
ESP_LOGE(TAG, "Reboot request failed");
return false;
Expand Down