diff options
author | Roger Wolff <R.E.Wolff@BitWizard.nl> | 2014-05-17 17:53:29 +0400 |
---|---|---|
committer | Karl Palsson <karlp@remake.is> | 2014-05-19 14:21:56 +0400 |
commit | a99e3a2cd3f2e1247ddabb8f6106fd78423bb8aa (patch) | |
tree | cb9837e5be158f271ded421395f4b706fd361fda | |
parent | d3e228176fc9a78997b227a1c318cfb830c849d6 (diff) |
stm32/flash: Make comments match reality
Copy/paste commentary with wrong sizes.
-rw-r--r-- | lib/stm32/common/flash_common_f24.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stm32/common/flash_common_f24.c b/lib/stm32/common/flash_common_f24.c index e1747aa3..03883fb7 100644 --- a/lib/stm32/common/flash_common_f24.c +++ b/lib/stm32/common/flash_common_f24.c @@ -229,7 +229,7 @@ void flash_program_double_word(uint32_t address, uint64_t data) /* Enable writes to flash. */ FLASH_CR |= FLASH_CR_PG; - /* Program the first half of the word. */ + /* Program the double_word. */ MMIO64(address) = data; /* Wait for the write to complete. */ @@ -259,7 +259,7 @@ void flash_program_word(uint32_t address, uint32_t data) /* Enable writes to flash. */ FLASH_CR |= FLASH_CR_PG; - /* Program the first half of the word. */ + /* Program the word. */ MMIO32(address) = data; /* Wait for the write to complete. */ |