Merge pull request #25 from SoloKeysSec/0x0ece-patch-1

Fix undefined behavior
This commit is contained in:
Conor Patrick 2018-10-28 23:44:43 -04:00 committed by GitHub
commit 8fbd78a0f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,5 +141,5 @@ void flash_write(uint32_t addr, uint8_t * data, size_t sz)
void flash_lock() void flash_lock()
{ {
FLASH->CR |= (1<<31); FLASH->CR |= (1U<<31);
} }