projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
40728fd
)
Fixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() functi...
author
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 30 Jul 2011 02:49:59 +0000
(
02:49
+0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 30 Jul 2011 02:49:59 +0000
(
02:49
+0000)
Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
patch
|
blob
|
blame
|
history
LUFA/ManPages/ChangeLog.txt
patch
|
blob
|
blame
|
history
Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c
patch
|
blob
|
blame
|
history
Projects/TempDataLogger/Lib/DataflashManager.c
patch
|
blob
|
blame
|
history
Projects/Webserver/Lib/DataflashManager.c
patch
|
blob
|
blame
|
history
diff --git
a/Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
b/Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
index
f962729
..
d07e486
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
+++ b/
Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
@@
-356,7
+356,7
@@
void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress,
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
- Dataflash_SendByte(DF_CMD_BUFF1WRITE);
+ Dataflash_SendByte(
UsingSecondBuffer ? DF_CMD_BUFF2WRITE :
DF_CMD_BUFF1WRITE);
Dataflash_SendAddressBytes(0, 0);
}
Dataflash_SendAddressBytes(0, 0);
}
diff --git
a/Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
b/Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
index
f962729
..
d07e486
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
+++ b/
Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
@@
-356,7
+356,7
@@
void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress,
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
- Dataflash_SendByte(DF_CMD_BUFF1WRITE);
+ Dataflash_SendByte(
UsingSecondBuffer ? DF_CMD_BUFF2WRITE :
DF_CMD_BUFF1WRITE);
Dataflash_SendAddressBytes(0, 0);
}
Dataflash_SendAddressBytes(0, 0);
}
diff --git
a/Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
b/Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
index
f962729
..
d07e486
100644
(file)
--- a/
Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
+++ b/
Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
@@
-356,7
+356,7
@@
void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress,
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
- Dataflash_SendByte(DF_CMD_BUFF1WRITE);
+ Dataflash_SendByte(
UsingSecondBuffer ? DF_CMD_BUFF2WRITE :
DF_CMD_BUFF1WRITE);
Dataflash_SendAddressBytes(0, 0);
}
Dataflash_SendAddressBytes(0, 0);
}
diff --git
a/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
b/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
index
2100eb2
..
2fb7c1b
100644
(file)
--- a/
Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
+++ b/
Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
@@
-352,7
+352,7
@@
void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress,
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
- Dataflash_SendByte(DF_CMD_BUFF1WRITE);
+ Dataflash_SendByte(
UsingSecondBuffer ? DF_CMD_BUFF2WRITE :
DF_CMD_BUFF1WRITE);
Dataflash_SendAddressBytes(0, 0);
}
Dataflash_SendAddressBytes(0, 0);
}
diff --git
a/LUFA/ManPages/ChangeLog.txt
b/LUFA/ManPages/ChangeLog.txt
index
639e6c7
..
e6b279e
100644
(file)
--- a/
LUFA/ManPages/ChangeLog.txt
+++ b/
LUFA/ManPages/ChangeLog.txt
@@
-74,6
+74,7
@@
* - Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2
* - Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed
* - Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors)
* - Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2
* - Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed
* - Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors)
+ * - Fixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden)
*
* \section Sec_ChangeLog110528 Version 110528
* <b>New:</b>
*
* \section Sec_ChangeLog110528 Version 110528
* <b>New:</b>
diff --git
a/Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c
b/Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c
index
af3c029
..
e13d632
100644
(file)
--- a/
Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c
+++ b/
Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c
@@
-357,7
+357,7
@@
void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress,
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
- Dataflash_SendByte(DF_CMD_BUFF1WRITE);
+ Dataflash_SendByte(
UsingSecondBuffer ? DF_CMD_BUFF2WRITE :
DF_CMD_BUFF1WRITE);
Dataflash_SendAddressBytes(0, 0);
}
Dataflash_SendAddressBytes(0, 0);
}
diff --git
a/Projects/TempDataLogger/Lib/DataflashManager.c
b/Projects/TempDataLogger/Lib/DataflashManager.c
index
efd7001
..
b7d0598
100644
(file)
--- a/
Projects/TempDataLogger/Lib/DataflashManager.c
+++ b/
Projects/TempDataLogger/Lib/DataflashManager.c
@@
-356,7
+356,7
@@
void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress,
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
- Dataflash_SendByte(DF_CMD_BUFF1WRITE);
+ Dataflash_SendByte(
UsingSecondBuffer ? DF_CMD_BUFF2WRITE :
DF_CMD_BUFF1WRITE);
Dataflash_SendAddressBytes(0, 0);
}
Dataflash_SendAddressBytes(0, 0);
}
diff --git
a/Projects/Webserver/Lib/DataflashManager.c
b/Projects/Webserver/Lib/DataflashManager.c
index
efd7001
..
b7d0598
100644
(file)
--- a/
Projects/Webserver/Lib/DataflashManager.c
+++ b/
Projects/Webserver/Lib/DataflashManager.c
@@
-356,7
+356,7
@@
void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress,
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
/* Send the Dataflash buffer write command */
Dataflash_ToggleSelectedChipCS();
- Dataflash_SendByte(DF_CMD_BUFF1WRITE);
+ Dataflash_SendByte(
UsingSecondBuffer ? DF_CMD_BUFF2WRITE :
DF_CMD_BUFF1WRITE);
Dataflash_SendAddressBytes(0, 0);
}
Dataflash_SendAddressBytes(0, 0);
}