Another unexpected reg value
This commit is contained in:
parent
d24ef8fc92
commit
f0389b7b97
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ def persist_calib_data(calib_data):
|
|||
def calibrate(calib_data_path='calib-data.bin'):
|
||||
# no idea what this is:
|
||||
write_hw_reg32(0x8000205c, 7)
|
||||
if read_hw_reg32(0x80002080) != 2:
|
||||
if read_hw_reg32(0x80002080) != 3:
|
||||
raise Exception('Unexpected register value')
|
||||
|
||||
dev=identify_sensor()
|
||||
|
|
|
|||
Loading…
Reference in a new issue