Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sihyung-maxim authored Dec 10, 2024
1 parent 229c7f6 commit 1d8410c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/PeriphDrivers/Source/FLC/flc_me30.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,13 @@ int MXC_FLC_MassErase(void)
//******************************************************************************
int MXC_FLC_UnlockInfoBlock(uint32_t address)
{
/* Flash Controller only accessible in secure world. */
#if defined(CONFIG_TRUSTED_EXECUTION_SECURE) || (CONFIG_TRUSTED_EXECUTION_SECURE != 0)
if ((address < MXC_INFO_MEM_BASE) ||
(address >= (MXC_INFO_MEM_BASE + (MXC_INFO_MEM_SIZE * 2)))) {
return E_BAD_PARAM;
}
#else
/* Flash Controller only accessible in secure world. */
return E_NOT_SUPPORTED;
#endif

Expand Down

0 comments on commit 1d8410c

Please sign in to comment.