/* This Function calc the Answersize for a command.  */
static int mdc800_getAnswerSize(char command)
/* This Function calc the Answersize for a command.  */
static int mdc800_getAnswerSize(char command)
{
	switch ((unsigned char) command)
	{
		case 0x2a:
		case 0x49:
		case 0x51:
		case 0x0d:
		case 0x20:
		case 0x07:
		case 0x01:
		case 0x25:
		case 0x00:
			return 8;
		case 0x05:
		case 0x3e:
			return mdc800->pic_len;
		case 0x09:
			return 4096;
		default:
			return 0;
	}
}