In contradiction with the documentation, e4k_reg_write() was returning the value 2 upon success (the number of bytes written), not zero as documented. Patched to return zero upon success. As a consequence, this corrects also the return value of e4k_reg_set_mask() and e4k_dc_offset_calibrate().
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|