The incomplete StandaloneProgrammer project now uses Host and Device Mass storage...
[pub/USBasp.git] / Projects / Incomplete / StandaloneProgrammer / Lib / DataflashManager.c
index 6646278..d79f5f7 100644 (file)
@@ -39,6 +39,7 @@
 #define  INCLUDE_FROM_DATAFLASHMANAGER_C\r
 #include "DataflashManager.h"\r
 \r
+#if defined(USB_CAN_BE_DEVICE)\r
 /** Writes blocks (OS blocks, not Dataflash pages) to the storage medium, the board dataflash IC(s), from\r
  *  the pre-selected data OUT endpoint. This routine reads in OS sized blocks from the endpoint and writes\r
  *  them to the dataflash in Dataflash page sized blocks.\r
@@ -523,3 +524,4 @@ bool DataflashManager_CheckDataflashOperation(void)
        \r
        return true;\r
 }\r
+#endif\r