Merge pull request #25 from SoloKeysSec/0x0ece-patch-1
Fix undefined behavior
This commit is contained in:
commit
8fbd78a0f6
@ -141,5 +141,5 @@ void flash_write(uint32_t addr, uint8_t * data, size_t sz)
|
||||
|
||||
void flash_lock()
|
||||
{
|
||||
FLASH->CR |= (1<<31);
|
||||
FLASH->CR |= (1U<<31);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user