diff options
author | Dean Camera <[email protected]> | 2009-09-02 13:08:55 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-09-02 13:08:55 +0000 |
commit | 6783bc4594177833d2b1047d77316e38cfe6a629 (patch) | |
tree | 192e7b44b6e0ff87d1cd5108c2d2b4d318e90eb7 /Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h | |
parent | 205b35d131a1cc8196786de4370cb90fec17835e (diff) | |
download | qmk_firmware-6783bc4594177833d2b1047d77316e38cfe6a629.tar.gz qmk_firmware-6783bc4594177833d2b1047d77316e38cfe6a629.zip |
Add StillImage Host Class Driver functions for opening and closing sessions. Ensure IsActive is set on the interface to allow device functions to run.
Fix spelling of "Received" in all source files where it is misspelt "Recieved".
Diffstat (limited to 'Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h')
-rw-r--r-- | Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h b/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h index b44b7524f2..6ac70fc50d 100644 --- a/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h +++ b/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h @@ -85,7 +85,7 @@ uint16_t Type; /**< Container type, a value from the PIMA_Container_Types_t enum */
uint16_t Code; /**< Command, event or response code of the container */
uint32_t TransactionID; /**< Unique container ID to link blocks together */
- uint32_t Params[4]; /**< Block parameters to be issued along with the block code (command blocks only) */
+ uint32_t Params[3]; /**< Block parameters to be issued along with the block code (command blocks only) */
} PIMA_Container_t;
/* Enums: */
@@ -106,8 +106,8 @@ /* Function Prototypes: */
void SImage_SendBlockHeader(void);
- uint8_t SImage_RecieveBlockHeader(void);
- uint8_t SImage_RecieveEventHeader(void);
+ uint8_t SImage_ReceiveBlockHeader(void);
+ uint8_t SImage_ReceiveEventHeader(void);
uint8_t SImage_SendData(void* Buffer, uint16_t Bytes);
uint8_t SImage_ReadData(void* Buffer, uint16_t Bytes);
bool SImage_IsEventReceived(void);
|