]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU/BootloaderDFU.c
Update functions used to write to EEPROM
[qmk_firmware.git] / tmk_core / protocol / lufa / LUFA-git / Bootloaders / DFU / BootloaderDFU.c
index 0385bfc497bd3f6b89d5754c335d3198c5c78008..00e673268af452faa957af08e8dce1145100ed38 100644 (file)
@@ -370,7 +370,7 @@ void EVENT_USB_Device_ControlRequest(void)
                                                        }
 
                                                        /* Read the byte from the USB interface and write to to the EEPROM */
-                                                       eeprom_write_byte((uint8_t*)StartAddr, Endpoint_Read_8());
+                                                       eeprom_update_byte((uint8_t*)StartAddr, Endpoint_Read_8());
 
                                                        /* Adjust counters */
                                                        StartAddr++;