/* Function to send the PIMA command container to the attached still image device.  */
void SImage_SendBlockHeader(void)
/* Function to send the PIMA command container to the attached still image device.  */
void SImage_SendBlockHeader(void)
{
	Pipe_SelectPipe(SIMAGE_DATA_OUT_PIPE);
	Pipe_Unfreeze();
	Pipe_Write_Stream_LE(&PIMA_SendBlock, PIMA_COMMAND_SIZE(0), NULL);
	if (PIMA_SendBlock.Type == PIMA_CONTAINER_CommandBlock)
	{
		uint8_t ParamBytes = (PIMA_SendBlock.DataLength - PIMA_COMMAND_SIZE(0));
		if (ParamBytes)
		{
			Pipe_Write_Stream_LE(&PIMA_SendBlock.Params, ParamBytes, NULL);
		}
		Pipe_ClearOUT();
	}
	Pipe_Freeze();
}