X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/9b2011455585885748164ab76dfaae76fffb0ff9..8301dc553ed9d4e2072001ed56553dba57db038c:/Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c?ds=inline diff --git a/Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c b/Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c index 6646278ee..d79f5f742 100644 --- a/Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c +++ b/Projects/Incomplete/StandaloneProgrammer/Lib/DataflashManager.c @@ -39,6 +39,7 @@ #define INCLUDE_FROM_DATAFLASHMANAGER_C #include "DataflashManager.h" +#if defined(USB_CAN_BE_DEVICE) /** Writes blocks (OS blocks, not Dataflash pages) to the storage medium, the board dataflash IC(s), from * the pre-selected data OUT endpoint. This routine reads in OS sized blocks from the endpoint and writes * them to the dataflash in Dataflash page sized blocks. @@ -523,3 +524,4 @@ bool DataflashManager_CheckDataflashOperation(void) return true; } +#endif