Alter the bootloader section sizes to all be 8KB, to be in line with the default...
[pub/USBasp.git] / Projects / Incomplete / StandaloneProgrammer / Lib / PetiteFATFs / diskio.c
index c2821a4..d953875 100644 (file)
@@ -1,11 +1,11 @@
 /*-----------------------------------------------------------------------*/
 /*-----------------------------------------------------------------------*/
-/* Low level disk I/O module skeleton for Petit FatFs (C)ChaN, 2010      */
+/* Low level disk I/O module skeleton for Petit FatFs (C)ChaN, 2009      */
 /*-----------------------------------------------------------------------*/
 
 #include "diskio.h"
 
 #include <string.h>
 /*-----------------------------------------------------------------------*/
 
 #include "diskio.h"
 
 #include <string.h>
-#include <LUFA/Drivers/USB/Class/MassStorage.h>
+#include <LUFA/Drivers/USB/USB.h>
 #include "../DataflashManager.h"
 #include "../../DiskHost.h"
 
 #include "../DataflashManager.h"
 #include "../../DiskHost.h"
 
@@ -25,7 +25,7 @@ DSTATUS disk_initialize (void)
 /*-----------------------------------------------------------------------*/
 
 DRESULT disk_readp (
 /*-----------------------------------------------------------------------*/
 
 DRESULT disk_readp (
-       void* dest,                     /* Pointer to the destination object */
+       BYTE* dest,                     /* Pointer to the destination object */
        DWORD sector,           /* Sector number (LBA) */
        WORD sofs,                      /* Offset in the sector */
        WORD count                      /* Byte count (bit15:destination) */
        DWORD sector,           /* Sector number (LBA) */
        WORD sofs,                      /* Offset in the sector */
        WORD count                      /* Byte count (bit15:destination) */