forked from M-Labs/nix-servo
pyfastservo adc: Set default afe gain to 10x
This commit is contained in:
parent
5343b3d45a
commit
b1a9fa0ad4
@ -163,7 +163,8 @@ def configure_ltc2195():
|
||||
main_adc_test_mode(spi, False)
|
||||
verify_adc_registers(spi, {0x02: 0x11}) # Verify test mode is off
|
||||
|
||||
enable_adc_afe()
|
||||
# FIXME: AFE Gain 1x is not functional on that batch of fast servo under development
|
||||
enable_adc_afe(ch1_x10=1, ch2_x10=1)
|
||||
|
||||
finally:
|
||||
spi.close()
|
||||
|
Loading…
Reference in New Issue
Block a user