Skip to content

Commit

Permalink
Fix register pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
sihyung-maxim committed Dec 6, 2024
1 parent 759cf99 commit 229c7f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Libraries/PeriphDrivers/Source/FLC/flc_me30.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,12 @@ int MXC_FLC_UnlockInfoBlock(uint32_t address)
#endif

/* Make sure the info block is locked */
flc->actrl = 0x1234;
MXC_FLC->actrl = 0x1234;

/* Write the unlock sequence */
flc->actrl = 0x55bcbe69;
flc->actrl = 0x7688c189;
flc->actrl = 0x82306612;
MXC_FLC->actrl = 0x55bcbe69;
MXC_FLC->actrl = 0x7688c189;
MXC_FLC->actrl = 0x82306612;

return E_NO_ERROR;
}
Expand All @@ -219,7 +219,7 @@ int MXC_FLC_LockInfoBlock(uint32_t address)
return E_NOT_SUPPORTED;
#endif

flc->actrl = 0xDEADBEEF;
MXC_FLC->actrl = 0xDEADBEEF;
return E_NO_ERROR;
}

Expand Down

0 comments on commit 229c7f6

Please sign in to comment.