diff options
author | Dean Camera <[email protected]> | 2009-06-01 11:03:39 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-06-01 11:03:39 +0000 |
commit | d1e52660368d34d693131f6aff3c8fd8584162e5 (patch) | |
tree | 333916f85f9fd38a80b0785478aa596f11f166b6 /Demos/Device/MassStorage/Lib/DataflashManager.h | |
parent | 2440ca268ac444c1aed2441cefe9e25a767d961a (diff) | |
download | qmk_firmware-d1e52660368d34d693131f6aff3c8fd8584162e5.tar.gz qmk_firmware-d1e52660368d34d693131f6aff3c8fd8584162e5.zip |
Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet.
Removed scheduler and memory allocation libraries.
Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated).
Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
Diffstat (limited to 'Demos/Device/MassStorage/Lib/DataflashManager.h')
-rw-r--r-- | Demos/Device/MassStorage/Lib/DataflashManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/MassStorage/Lib/DataflashManager.h b/Demos/Device/MassStorage/Lib/DataflashManager.h index 1332fd3a30..b828051aa6 100644 --- a/Demos/Device/MassStorage/Lib/DataflashManager.h +++ b/Demos/Device/MassStorage/Lib/DataflashManager.h @@ -64,8 +64,8 @@ #define VIRTUAL_MEMORY_BLOCKS (VIRTUAL_MEMORY_BYTES / VIRTUAL_MEMORY_BLOCK_SIZE)
/* Function Prototypes: */
- void DataflashManager_WriteBlocks(const uint32_t BlockAddress, uint16_t TotalBlocks);
- void DataflashManager_ReadBlocks(const uint32_t BlockAddress, uint16_t TotalBlocks);
+ void DataflashManager_WriteBlocks(USB_ClassInfo_MS_t* MSInterfaceInfo, const uint32_t BlockAddress, uint16_t TotalBlocks);
+ void DataflashManager_ReadBlocks(USB_ClassInfo_MS_t* MSInterfaceInfo, const uint32_t BlockAddress, uint16_t TotalBlocks);
void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress, uint16_t TotalBlocks,
uint8_t* BufferPtr) ATTR_NON_NULL_PTR_ARG(3);
void DataflashManager_ReadBlocks_RAM(const uint32_t BlockAddress, uint16_t TotalBlocks,
|