bootloader_common_get_active_otadata() function
Returns the number of active otadata.
Arguments
two_otadata
Pointer on array from two otadata structures.
Return value
The number of active otadata (0 or 1). - -1: If it does not have active otadata.
bootloader_common_get_active_otadata() is called by 5 functions and calls 2 functions:
![]()
bootloader_common_get_active_otadata()
bootloader_common_get_active_otadata():
![]()
bootloader_common_get_active_otadata()