1
0
Fork 0

add adc channel check after test mode

This commit is contained in:
Florian Agbuya 2024-08-21 13:44:20 +08:00
parent 1b673a1adb
commit e1ee2f53cb
1 changed files with 2 additions and 0 deletions

View File

@ -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: