mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 18:06:34 +06:00
Merge pull request #41 from lalalademaxiya1/playground
Update eeprom_stm32_l4.c
This commit is contained in:
commit
ea518140dc
|
@ -489,7 +489,7 @@ void eeprom_write_block(const void *buf, void *addr, size_t len) {
|
|||
write_len = 2;
|
||||
} else {
|
||||
/* Write the unaligned or single byte */
|
||||
EEPROM_WriteDataByte((uintptr_t)dest++, *src++);
|
||||
EEPROM_WriteDataByte((uintptr_t)dest, *src);
|
||||
write_len = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user