[riot-notifications] [RIOT-OS/RIOT] Feat/add flashwrite APIs (#15511)
notifications at github.com
Sat Nov 28 16:42:29 CET 2020
@firas-hamdi commented on this pull request.
> + int _slot_to_revert = -1;
+ _slot_to_revert = (riotboot_slot_get_hdr(riotboot_slot_other())->version
+ > riotboot_slot_get_hdr(riotboot_slot_current())->version) ? riotboot_slot_other() : riotboot_slot_current();
No checking the version number is not enough, that's right. The version validation is done after selecting the slot to revert, using the **riotboot_flashwrite_invalidate** API
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications