mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
9f27a5a246
When riotboot/slot.h is included, but riotboot is not enabled in the build, a compiler error occures. This is because SLOT0_LEN is not defined. This patch fixes this by surrounding the offending macrro with a conditional compile. `riotboot_slot_size()` may still be called, in which case it returns 0 for the size of any slot given. |
||
---|---|---|
.. | ||
bootloader_selection.h | ||
flashwrite.h | ||
hdr.h | ||
magic.h | ||
serial.h | ||
slot.h | ||
usb_dfu.h |