Home
last modified time | relevance | path

Searched refs:current_id (Results 1 – 1 of 1) sorted by relevance

/mcuboot-latest/samples/runtime-source/zephyr/hooks/
Dhooks.c24 static int current_id; variable
40 current_id = 0; in boot_go_hook()
45 current_id = ARRAY_SIZE(known_ids) - 1; in boot_go_hook()
47 sw1_spec.port->name, known_ids[current_id]); in boot_go_hook()
57 for ( ; current_id < ARRAY_SIZE(known_ids); current_id++) { in boot_go_hook()
59 known_ids[current_id]); in boot_go_hook()
61 rc = flash_area_open(known_ids[current_id], &_fa_p); in boot_go_hook()
106 *area_id = known_ids[current_id]; in flash_area_id_from_multi_image_slot_hook()