Skip to content

Commit 909df63

Browse files
fix(hosted): Apply suggestion from @lucasssvaz
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
1 parent da8352c commit 909df63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-hosted.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void hostedGetSlaveVersion(uint32_t * major, uint32_t * minor, uint32_t * patch)
7272

7373
bool hostedHasUpdate() {
7474
uint32_t host_version = ESP_HOSTED_VERSION_VAL(host_version_struct.major1, host_version_struct.minor1, host_version_struct.patch1);
75-
uint32_t slave_version = ESP_HOSTED_VERSION_VAL(slave_version_struct.major1, slave_version_struct.minor1, slave_version_struct.patch1);
75+
uint32_t slave_version = 0;
7676

7777
esp_err_t ret = esp_hosted_get_coprocessor_fwversion(&slave_version_struct);
7878
if (ret != ESP_OK) {

0 commit comments

Comments
 (0)