diff options
author | Eric Tang <e_l_tang@outlook.com> | 2016-04-21 19:35:18 -0700 |
---|---|---|
committer | Eric Tang <e_l_tang@outlook.com> | 2016-04-21 20:07:03 -0700 |
commit | 620ac4b260fa663d12b11a0b15ac50379523c125 (patch) | |
tree | 97c07e85ab7acb939ff395e4ba12d950d805a8f6 /tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU | |
parent | 9828aba2a12f03fccbc1095bc8e4918ae58fa31b (diff) |
Update functions used to write to EEPROM
Diffstat (limited to 'tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU')
-rw-r--r-- | tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU/BootloaderDFU.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU/BootloaderDFU.c b/tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU/BootloaderDFU.c index 0385bfc497..00e673268a 100644 --- a/tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU/BootloaderDFU.c +++ b/tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU/BootloaderDFU.c @@ -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++; |