Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
EricB-ADI committed Oct 24, 2024
1 parent 6e4b3ae commit 13bcf28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Libraries/PeriphDrivers/Source/SYS/mxc_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@ int MXC_GetLock(uint32_t *lock, uint32_t value)
return E_BUSY;
}

*lock = value
*lock = value;

// Ensure memory ordering
__asm volatile("fence rw, rw");
__asm volatile("fence rw, rw");
__enable_irq();
return E_NO_ERROR;
}
Expand Down

0 comments on commit 13bcf28

Please sign in to comment.