Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver.
[pub/USBasp.git] / Demos / Device / ClassDriver / VirtualSerialMassStorage / Lib / DataflashManager.c
index 7100acb..6457352 100644 (file)
@@ -157,7 +157,7 @@ void DataflashManager_WriteBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceIn
                          return;\r
                }\r
 \r
                          return;\r
                }\r
 \r
-               /* Decrement the blocks remaining counter and reset the sub block counter */\r
+               /* Decrement the blocks remaining counter */\r
                TotalBlocks--;\r
        }\r
 \r
                TotalBlocks--;\r
        }\r
 \r
@@ -371,7 +371,7 @@ void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress,
                        BytesInBlockDiv16++;\r
                }\r
 \r
                        BytesInBlockDiv16++;\r
                }\r
 \r
-               /* Decrement the blocks remaining counter and reset the sub block counter */\r
+               /* Decrement the blocks remaining counter */\r
                TotalBlocks--;\r
        }\r
 \r
                TotalBlocks--;\r
        }\r
 \r