Skip to content

Commit

Permalink
Fix panic on restart (#1289)
Browse files Browse the repository at this point in the history
Causing a problem with deploy & debug
  • Loading branch information
AdrianSoundy authored Apr 21, 2019
1 parent fb9813a commit 65eda54
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,15 @@ void StorageIOTask(void *pvParameters)
};

// Queue result and fire event
xQueueSend(StorageResultQueue, &operationResult, portMAX_DELAY);
xQueueSend(StorageResultQueue, &operationResult, portMAX_DELAY);

// fire event for FileIO operation complete
Events_Set(SYSTEM_EVENT_FLAG_STORAGE_IO);
}
}
// fire event for FileIO operation complete
if (fileOpMessage.Operation != EXIT)
Events_Set(SYSTEM_EVENT_FLAG_STORAGE_IO);
}
}

vTaskDelete(NULL);
}

void CreateStorageIOTask()
Expand Down

0 comments on commit 65eda54

Please sign in to comment.