1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

fix whitespace

This commit is contained in:
Pavol Rusnak 2019-02-19 18:01:10 +01:00
parent a00c7f9720
commit 44bb5864d4
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
6 changed files with 241 additions and 241 deletions

View File

@ -34,6 +34,7 @@ void memory_protect(void)
if (((FLASH_OPTION_BYTES_1 & 0xFFEC) == 0xCCEC) && ((FLASH_OPTION_BYTES_2 & 0xFFF) == 0xFFC) && (FLASH_OPTCR == 0x0FFCCCED)) {
return; // already set up correctly - bail out
}
flash_unlock_option_bytes();
// Section 2.8.6 Flash option control register (FLASH_OPTCR)
// Bits 31:28 Reserved, must be kept cleared.
@ -67,7 +68,6 @@ void memory_write_unlock(void)
}
int memory_bootloader_hash(uint8_t *hash)
{
sha256_Raw(FLASH_PTR(FLASH_BOOT_START), FLASH_BOOT_LEN, hash);
sha256_Raw(hash, 32, hash);