DDC-CI-Tools-for-OS-X
DDC-CI-Tools-for-OS-X copied to clipboard
ddc_write incorrect for values < 0x1ff
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);