projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update functions used to write to EEPROM
[pub/USBasp.git]
/
Bootloaders
/
DFU
/
BootloaderDFU.c
diff --git
a/Bootloaders/DFU/BootloaderDFU.c
b/Bootloaders/DFU/BootloaderDFU.c
index
71db980
..
d43c686
100644
(file)
--- a/
Bootloaders/DFU/BootloaderDFU.c
+++ b/
Bootloaders/DFU/BootloaderDFU.c
@@
-400,7
+400,7
@@
void EVENT_USB_Device_ControlRequest(void)
}
/* Read the byte from the USB interface and write to to the EEPROM */
}
/* Read the byte from the USB interface and write to to the EEPROM */
- eeprom_
wri
te_byte((uint8_t*)StartAddr, Endpoint_Read_8());
+ eeprom_
upda
te_byte((uint8_t*)StartAddr, Endpoint_Read_8());
/* Adjust counters */
StartAddr++;
/* Adjust counters */
StartAddr++;
@@
-857,4
+857,3
@@
static void ProcessReadCommand(void)
DFU_Status = errADDRESS;
}
}
DFU_Status = errADDRESS;
}
}
-