diff options
Diffstat (limited to 'tmk_core/protocol/lufa/LUFA-git')
| -rw-r--r-- | tmk_core/protocol/lufa/LUFA-git/Bootloaders/CDC/BootloaderCDC.c | 4 | ||||
| -rw-r--r-- | tmk_core/protocol/lufa/LUFA-git/Bootloaders/DFU/BootloaderDFU.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/protocol/lufa/LUFA-git/Bootloaders/CDC/BootloaderCDC.c b/tmk_core/protocol/lufa/LUFA-git/Bootloaders/CDC/BootloaderCDC.c index f66a483e6..58bb33892 100644 --- a/tmk_core/protocol/lufa/LUFA-git/Bootloaders/CDC/BootloaderCDC.c +++ b/tmk_core/protocol/lufa/LUFA-git/Bootloaders/CDC/BootloaderCDC.c | |||
| @@ -327,7 +327,7 @@ static void ReadWriteMemoryBlock(const uint8_t Command) | |||
| 327 | else | 327 | else |
| 328 | { | 328 | { |
| 329 | /* Write the next EEPROM byte from the endpoint */ | 329 | /* Write the next EEPROM byte from the endpoint */ |
| 330 | eeprom_write_byte((uint8_t*)((intptr_t)(CurrAddress >> 1)), FetchNextCommandByte()); | 330 | eeprom_update_byte((uint8_t*)((intptr_t)(CurrAddress >> 1)), FetchNextCommandByte()); |
| 331 | 331 | ||
| 332 | /* Increment the address counter after use */ | 332 | /* Increment the address counter after use */ |
| 333 | CurrAddress += 2; | 333 | CurrAddress += 2; |
| @@ -581,7 +581,7 @@ static void CDC_Task(void) | |||
| 581 | else if (Command == AVR109_COMMAND_WriteEEPROM) | 581 | else if (Command == AVR109_COMMAND_WriteEEPROM) |
| 582 | { | 582 | { |
| 583 | /* Read the byte from the endpoint and write it to the EEPROM */ | 583 | /* Read the byte from the endpoint and write it to the EEPROM */ |
| 584 | eeprom_write_byte((uint8_t*)((intptr_t)(CurrAddress >> 1)), FetchNextCommandByte()); | 584 | eeprom_update_byte((uint8_t*)((intptr_t)(CurrAddress >> 1)), FetchNextCommandByte()); |
| 585 | 585 | ||
| 586 | /* Increment the address after use */ | 586 | /* Increment the address after use */ |
| 587 | CurrAddress += 2; | 587 | CurrAddress += 2; |
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 0385bfc49..00e673268 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) | |||
| 370 | } | 370 | } |
| 371 | 371 | ||
| 372 | /* Read the byte from the USB interface and write to to the EEPROM */ | 372 | /* Read the byte from the USB interface and write to to the EEPROM */ |
| 373 | eeprom_write_byte((uint8_t*)StartAddr, Endpoint_Read_8()); | 373 | eeprom_update_byte((uint8_t*)StartAddr, Endpoint_Read_8()); |
| 374 | 374 | ||
| 375 | /* Adjust counters */ | 375 | /* Adjust counters */ |
| 376 | StartAddr++; | 376 | StartAddr++; |
