forked from M-Labs/nix-servo
add adc channel check after test mode
This commit is contained in:
parent
79315d3d1b
commit
25524856b9
|
@ -152,6 +152,8 @@ def configure_ltc2195():
|
||||||
main_adc_test_mode(spi, False)
|
main_adc_test_mode(spi, False)
|
||||||
verify_adc_registers(spi, {0x02: 0x11}) # Verify test mode is off
|
verify_adc_registers(spi, {0x02: 0x11}) # Verify test mode is off
|
||||||
|
|
||||||
|
print_adc_channels()
|
||||||
|
|
||||||
enable_adc_afe()
|
enable_adc_afe()
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue