Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a callback for OTA update #1286

Merged
merged 1 commit into from
Sep 4, 2021
Merged

Add a callback for OTA update #1286

merged 1 commit into from
Sep 4, 2021

Conversation

Mollayo
Copy link
Contributor

@Mollayo Mollayo commented Sep 3, 2021

Add a callback to be used before the OTA update. The OTA update sometimes can be corrupted because of timer interrupts. The idea is to have a method "setPreOtaUpdateCallback()" to set a user-defined callback. This callback is called just before uploading the new firmware so that the user can disable all the interrupts that may corrupt the OTA update.

@tablatronix tablatronix merged commit 8ce6984 into tzapu:master Sep 4, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants