From 25524856b9127d48f2bd7f5275d49125e38b81bd Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Wed, 21 Aug 2024 13:44:20 +0800 Subject: [PATCH] add adc channel check after test mode --- fast-servo/pyfastservo/adc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fast-servo/pyfastservo/adc.py b/fast-servo/pyfastservo/adc.py index 9cbe137..900b407 100644 --- a/fast-servo/pyfastservo/adc.py +++ b/fast-servo/pyfastservo/adc.py @@ -151,6 +151,8 @@ def configure_ltc2195(): main_adc_test_mode(spi, False) verify_adc_registers(spi, {0x02: 0x11}) # Verify test mode is off + + print_adc_channels() enable_adc_afe()