mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-01-28 01:47:21 +01:00
Add \return to rom_pick_ab_partition docs
This commit is contained in:
parent
b92e552511
commit
858acd6ea9
1 changed files with 1 additions and 0 deletions
|
|
@ -756,6 +756,7 @@ static inline int rom_load_partition_table(uint8_t *workarea_base, uint32_t work
|
|||
* \param workarea_size size of work area
|
||||
* \param partition_a_num the A partition of the pair
|
||||
* \param flash_update_boot_window_base the flash update base, to pick that partition instead of the normally "better" partition
|
||||
* \return >= 0 the chosen partition number out of the A/B pair
|
||||
*/
|
||||
static inline int rom_pick_ab_partition(uint8_t *workarea_base, uint32_t workarea_size, uint partition_a_num, uint32_t flash_update_boot_window_base) {
|
||||
rom_pick_ab_partition_fn func = (rom_pick_ab_partition_fn) rom_func_lookup_inline(ROM_FUNC_PICK_AB_PARTITION);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue