Added documentation for the constants and enums of the new StillImage Host Class...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / StillImage.c
index 10759f6..40ef4f2 100644 (file)
@@ -222,6 +222,8 @@ uint8_t SImage_Host_RecieveBlockHeader(USB_ClassInfo_SI_Host_t* SIInterfaceInfo,
                  Pipe_Read_Stream_LE(&PIMAHeader->Params, ParamBytes, NO_STREAM_CALLBACK);\r
                \r
                Pipe_ClearIN();\r
+               \r
+               PIMAHeader->Code &= 0x0000000F;\r
        }\r
        \r
        Pipe_Freeze();\r