projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56ef2b1
)
Fixed incorrect comments in DataflashManager.c (thanks to Andrew Milkovich).
author
Dean Camera
<dean@fourwalledcubicle.com>
Sun, 27 Sep 2015 05:47:35 +0000
(15:47 +1000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Sun, 27 Sep 2015 05:47:35 +0000
(15:47 +1000)
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
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
7d7c6e1
..
121985c
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
+++ b/
Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
@@
-210,7
+210,7
@@
void DataflashManager_ReadBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInf
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
@@
-417,7
+417,7
@@
void DataflashManager_ReadBlocks_RAM(const uint32_t BlockAddress,
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
diff --git
a/Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
b/Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
index
7d7c6e1
..
121985c
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
+++ b/
Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
@@
-210,7
+210,7
@@
void DataflashManager_ReadBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInf
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
@@
-417,7
+417,7
@@
void DataflashManager_ReadBlocks_RAM(const uint32_t BlockAddress,
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
diff --git
a/Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
b/Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
index
7d7c6e1
..
121985c
100644
(file)
--- a/
Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
+++ b/
Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
@@
-210,7
+210,7
@@
void DataflashManager_ReadBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInf
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
@@
-417,7
+417,7
@@
void DataflashManager_ReadBlocks_RAM(const uint32_t BlockAddress,
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
diff --git
a/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
b/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
index
1555018
..
c403e4c
100644
(file)
--- a/
Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
+++ b/
Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
@@
-206,7
+206,7
@@
void DataflashManager_ReadBlocks(const uint32_t BlockAddress,
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
@@
-413,7
+413,7
@@
void DataflashManager_ReadBlocks_RAM(const uint32_t BlockAddress,
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
diff --git
a/Projects/TempDataLogger/Lib/DataflashManager.c
b/Projects/TempDataLogger/Lib/DataflashManager.c
index
c8f468d
..
db409c8
100644
(file)
--- a/
Projects/TempDataLogger/Lib/DataflashManager.c
+++ b/
Projects/TempDataLogger/Lib/DataflashManager.c
@@
-210,7
+210,7
@@
void DataflashManager_ReadBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInf
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
@@
-417,7
+417,7
@@
void DataflashManager_ReadBlocks_RAM(const uint32_t BlockAddress,
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
diff --git
a/Projects/Webserver/Lib/DataflashManager.c
b/Projects/Webserver/Lib/DataflashManager.c
index
c8f468d
..
db409c8
100644
(file)
--- a/
Projects/Webserver/Lib/DataflashManager.c
+++ b/
Projects/Webserver/Lib/DataflashManager.c
@@
-210,7
+210,7
@@
void DataflashManager_ReadBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInf
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if the endpoint is currently full */
@@
-417,7
+417,7
@@
void DataflashManager_ReadBlocks_RAM(const uint32_t BlockAddress,
{
uint8_t BytesInBlockDiv16 = 0;
{
uint8_t BytesInBlockDiv16 = 0;
- /*
Write an endpoint packet sized data block to
the Dataflash */
+ /*
Read an endpoint packet sized data block from
the Dataflash */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */
while (BytesInBlockDiv16 < (VIRTUAL_MEMORY_BLOCK_SIZE >> 4))
{
/* Check if end of Dataflash page reached */