Skip to content

Commit

Permalink
Merge pull request qmk#41 from lalalademaxiya1/playground
Browse files Browse the repository at this point in the history
Update eeprom_stm32_l4.c
  • Loading branch information
KeychronMacro authored Jun 27, 2022
2 parents 03aa277 + 58aba27 commit ea51814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/chibios/drivers/eeprom/eeprom_stm32_l4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ea51814

Please sign in to comment.