X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/9b2011455585885748164ab76dfaae76fffb0ff9..8301dc553ed9d4e2072001ed56553dba57db038c:/Projects/Incomplete/StandaloneProgrammer/StandaloneProgrammer.h diff --git a/Projects/Incomplete/StandaloneProgrammer/StandaloneProgrammer.h b/Projects/Incomplete/StandaloneProgrammer/StandaloneProgrammer.h index 196b7ca72..828e3ea50 100644 --- a/Projects/Incomplete/StandaloneProgrammer/StandaloneProgrammer.h +++ b/Projects/Incomplete/StandaloneProgrammer/StandaloneProgrammer.h @@ -42,7 +42,8 @@ #include #include - #include "Descriptors.h" + #include "DiskDevice.h" + #include "DiskHost.h" #include "Lib/SCSI.h" #include "Lib/DataflashManager.h" @@ -50,11 +51,8 @@ #include "Lib/PetiteFATFs/pff.h" #include - #include #include - #include - #include - #include + #include /* Macros: */ /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */ @@ -70,25 +68,20 @@ #define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3) /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ - #define LEDMASK_USB_BUSY (LEDS_LED2) + #define LEDMASK_USB_BUSY LEDS_LED2 /* External Variables: */ - extern FILE USBSerialStream; - extern FILE DataflashStream; + extern FILE DiskStream; + extern FATFS DiskFATState; /* Function Prototypes: */ #if defined(INCLUDE_FROM_STANDALONEPROG_C) - static int Dataflash_getchar(FILE* Stream); + static int Disk_getchar(FILE* Stream); #endif + void EVENT_USB_UIDChange(void); + void SetupHardware(void); void Programmer_Task(void); - - void EVENT_USB_Device_Connect(void); - void EVENT_USB_Device_Disconnect(void); - void EVENT_USB_Device_ConfigurationChanged(void); - void EVENT_USB_Device_UnhandledControlRequest(void); - - bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* MSInterfaceInfo); - + #endif