mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2025-01-06 09:01:21 +06:00
Update eeprom_stm32_l4.c
This commit is contained in:
parent
08095b3f3d
commit
58aba271f3
@ -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