mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
e697d93e02
If `CONFIG_RIOTBOOT_FLASHWRITE_RAW` is not set, `riotboot_flashwrite_finish_raw()` will always return `-1` as `res` is not set anywhere else. Fix this by only returning -1 in the error case. |
||
---|---|---|
.. | ||
flashwrite_verify_sha256.c | ||
flashwrite.c | ||
hdr.c | ||
Makefile | ||
Makefile.include | ||
slot.c |