X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/617763ae20a9fbd35ed86956450f1555286636af..92e9cb71e290ea7e05d15f4761b8a07d786a8aa9:/Projects/TempDataLogger/Lib/DataflashManager.c?ds=inline diff --git a/Projects/TempDataLogger/Lib/DataflashManager.c b/Projects/TempDataLogger/Lib/DataflashManager.c index c8f468d03..db409c83a 100644 --- 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; - /* 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 */ @@ -417,7 +417,7 @@ void DataflashManager_ReadBlocks_RAM(const uint32_t BlockAddress, { 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 */