mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-13 06:54:08 +00:00
Use eeprom_update_block to improve performance
This commit is contained in:
parent
7bc729bb55
commit
110df65276
@ -167,7 +167,7 @@ static bool system76_ec_eeprom_op(void * buf, uint16_t size, uint16_t offset, bo
|
||||
(end <= (SYSTEM76_EC_EEPROM_ADDR + SYSTEM76_EC_EEPROM_SIZE))
|
||||
) {
|
||||
if (write) {
|
||||
eeprom_write_block(
|
||||
eeprom_update_block(
|
||||
(const void *)buf,
|
||||
(void *)addr,
|
||||
size
|
||||
|
Loading…
Reference in New Issue
Block a user