projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new Pipe_IsFrozen() macro to determine if the currently selected pipe is frozen.
[pub/lufa.git]
/
Bootloaders
/
CDC
/
BootloaderCDC.c
diff --git
a/Bootloaders/CDC/BootloaderCDC.c
b/Bootloaders/CDC/BootloaderCDC.c
index
d1f595c
..
f666023
100644
(file)
--- a/
Bootloaders/CDC/BootloaderCDC.c
+++ b/
Bootloaders/CDC/BootloaderCDC.c
@@
-524,7
+524,7
@@
void CDC_Task(void)
else if (Command == 'D')
\r
{
\r
/* Read the byte from the endpoint and write it to the EEPROM */
\r
else if (Command == 'D')
\r
{
\r
/* Read the byte from the endpoint and write it to the EEPROM */
\r
- eeprom_write_byte((uint8_t*)(
uint16_t)(CurrAddress >> 1
), FetchNextCommandByte());
\r
+ eeprom_write_byte((uint8_t*)(
(uint16_t)(CurrAddress >> 1)
), FetchNextCommandByte());
\r
\r
/* Increment the address after use */
\r
CurrAddress += 2;
\r
\r
/* Increment the address after use */
\r
CurrAddress += 2;
\r
@@
-535,7
+535,7
@@
void CDC_Task(void)
else if (Command == 'd')
\r
{
\r
/* Read the EEPROM byte and write it to the endpoint */
\r
else if (Command == 'd')
\r
{
\r
/* Read the EEPROM byte and write it to the endpoint */
\r
- WriteNextResponseByte(eeprom_read_byte((uint8_t*)(
uint16_t)(CurrAddress >> 1
)));
\r
+ WriteNextResponseByte(eeprom_read_byte((uint8_t*)(
(uint16_t)(CurrAddress >> 1)
)));
\r
\r
/* Increment the address after use */
\r
CurrAddress += 2;
\r
\r
/* Increment the address after use */
\r
CurrAddress += 2;
\r