forked from M-Labs/nix-servo
add adc channel check after test mode
This commit is contained in:
parent
1b673a1adb
commit
e1ee2f53cb
|
@ -151,6 +151,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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue