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

View File

@@ -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);
}