1.5.5.4.17 SRV_FU_SwapFirmware Function
C
bool SRV_FU_SwapFirmware(void);
Summary
Swaps the firmware.
Description
This function is used to swap the firmware, if needed, and update data for the bootloader.
Precondition
The SRV_FU_Initialize function should have been called before calling this function..
Parameters
None
Returns
True if firmware must be swapped. Otherwise, false..
Example
if (SRV_FU_SwapFirmware() == true)
{
... Invoke bootloader
}
Remarks
This function is called by the application.