1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/riotboot
Benjamin Valentin e697d93e02 riotboot: don't always return error in riotboot_flashwrite_finish_raw()
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.
2020-11-18 16:13:47 +01:00
..
flashwrite_verify_sha256.c sys/riotboot: add initial image digest verification 2019-07-10 13:15:02 +02:00
flashwrite.c riotboot: don't always return error in riotboot_flashwrite_finish_raw() 2020-11-18 16:13:47 +01:00
hdr.c add copyrights from IOTPUSH project 2019-05-02 12:09:37 +02:00
Makefile riotboot: move slot variables to sys/riotboot/Makefile.include 2019-03-15 12:32:50 +01:00
Makefile.include sys/riotboot: RIOTBOOT_HDR_LEN generic definition 2019-06-18 15:12:54 +02:00
slot.c sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00