Skip to content
Commit 3835d9ae authored by Dmitrii Sharshakov's avatar Dmitrii Sharshakov Committed by Benjamin Cabé
Browse files

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: default avatarDmitrii Sharshakov <d3dx12.xx@gmail.com>
parent 7ebdf390
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment