btstack_tlv_flash_sector: return first tag found

This commit is contained in:
Matthias Ringwald 2017-08-16 14:23:04 +02:00
parent cfcd891d64
commit 99a525903c

View File

@ -235,6 +235,7 @@ static int btstack_tlv_flash_sector_get_tag(void * context, uint32_t tag, uint8_
log_info("Found tag '%x' at position %u", tag, it.offset);
tag_index = it.offset;
tag_len = it.len;
break;
}
tlv_iterator_fetch_next(self, &it);
}