mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2025-01-07 17:40:19 +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;
|
write_len = 2;
|
||||||
} else {
|
} else {
|
||||||
/* Write the unaligned or single byte */
|
/* Write the unaligned or single byte */
|
||||||
EEPROM_WriteDataByte((uintptr_t)dest++, *src++);
|
EEPROM_WriteDataByte((uintptr_t)dest, *src);
|
||||||
write_len = 1;
|
write_len = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user