Skip to content

Commit

Permalink
Make infoblock function weak to it be owerwritten
Browse files Browse the repository at this point in the history
Info block unlock function might be owerwritten for some devices
make it weak to provide a way to it be done

Signed-off-by: Sadik Ozer <[email protected]>
  • Loading branch information
ozersa committed Oct 4, 2024
1 parent f4649e2 commit 8c18f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Source/FLC/flc_me30.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ int MXC_FLC_MassErase(void)
}

//******************************************************************************
int MXC_FLC_UnlockInfoBlock(uint32_t address)
__weak int MXC_FLC_UnlockInfoBlock(uint32_t address)
{
return MXC_FLC_RevA_UnlockInfoBlock((mxc_flc_reva_regs_t *)MXC_FLC, address);
return E_NOT_SUPPORTED;
}

//******************************************************************************
Expand Down

0 comments on commit 8c18f14

Please sign in to comment.