Skip to content

Commit 1410400

Browse files
Alexander Lubitskiylalekz
Alexander Lubitskiy
authored andcommitted
Disable esp_ota_mark_app_valid_cancel_rollback() call from initArduino().
See espressif#3749
1 parent dacfbd4 commit 1410400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-misc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ bool btInUse(){ return false; }
179179

180180
void initArduino()
181181
{
182-
#ifdef CONFIG_APP_ROLLBACK_ENABLE
182+
#if 0
183183
const esp_partition_t *running = esp_ota_get_running_partition();
184184
esp_ota_img_states_t ota_state;
185185
if (esp_ota_get_state_partition(running, &ota_state) == ESP_OK) {

0 commit comments

Comments
 (0)