sensor: adltc2990: correct emulator implementation
Fix an out of bounds access found by ASan.
Also remove mock_i2c_reg_error which seems to never be read.
Signed-off-by:
Dmitrii Sharshakov <d3dx12.xx@gmail.com>
Loading
Please sign in to comment