650D dual_ISO isoless PH err(2)
Created originally on Bitbucket by linuxhenhao (Yu Huangyu)
problem: dual iso always come to this err,can't work normally I'am using latest ML on my 650D. sometimes when i turned on the dual iso module,a isoless PH err(2) shown. But if i turn the camero up and down serveral times,It can disapear. I've look into the dual_iso module's code,and found that this is because the isoless_enabal function ,the var flag not equal to CMOS_EXPECTED_FLAG. but, the given params should aways be the same,how can this happen? uint32_t flag = raw & CMOS_FLAG_MASK; int iso1 = (raw >> CMOS_FLAG_BITS) & CMOS_ISO_MASK; int iso2 = (raw >> (CMOS_FLAG_BITS + CMOS_ISO_BITS)) & CMOS_ISO_MASK; int reg = (raw >> 12) & 0xF;
if (reg != 0 && !is_6d)
return reg;
** if (flag != CMOS_EXPECTED_FLAG)**
return 2;