DDC-CI-Tools-for-OS-X icon indicating copy to clipboard operation
DDC-CI-Tools-for-OS-X copied to clipboard

ddc_write incorrect for values < 0x1ff

Open jakealbert opened this issue 10 years ago • 0 comments

in ddc/ddc.c: ddc_write, the new value is set with: data[5] = (_p_write).new_value; data[4] = 0x1; which is incorrect for values < 0x1ff. It should be: data[4] = ((_p_write).new_value) >> 8; data[5] = ((*p_write).new_value & 255);

jakealbert avatar Jul 23 '14 08:07 jakealbert