Update functions used to write to EEPROM
This commit is contained in:
@@ -400,7 +400,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++;
|
||||
@@ -857,4 +857,3 @@ static void ProcessReadCommand(void)
|
||||
DFU_Status = errADDRESS;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user