#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
        \r
        return true;\r
 }\r
+#endif\r