main/i2c: use var block mode for TEMP_CURVE_POINTS and TEMP_MATRIX_ROW
Changes cover:
- fix broken handling of setting row/points (size of temp_matrix_row was too
small, fan_n in set_tc_curve was read from a wrong type (uint16 not uint8))
- use structures for handling row/points
- add get functionality for row/points (before it was possible to read only
the transfered data not the actual used)
- iterate over fan entries when getting row/points
- update pytests
-- update query flags for TEMP_CURVE_POINTS and TEMP_MATRIX_ROW registers
-- improve write testing of TEMP_CURVE_POINTS and TEMP_MATRIX_ROW
registers
- update documentation
Signed-off-by: Adam Wujek <dev_public@wujek.eu>
Showing
Please
register
or
sign in
to comment