jarjonam il y a 5 ans
Parent
commit
daa1763b04
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pi/ADUCv2p1.py

+ 1 - 1
pi/ADUCv2p1.py

@@ -355,7 +355,7 @@ class ADUCv2p1:
         self.set_pga_state(state)
 
     def get_input_gain(self):
-        state = self.read_pga_state()
+        state = self.get_pga_state()
         return (state-8)//16
 
     # Set the feedback gain