Skip to content

Commit 3ff924b

Browse files
pmmarquezlbuque
authored andcommitted
libs/unit/adc_v11.py: Fix get_voltage missing parenthesis.
Signed-off-by: Pedro Marquez <[email protected]>
1 parent 43f32c5 commit 3ff924b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m5stack/libs/unit/adc_v11.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _available(self):
2727
raise UnitError("ADC V1.1 Unit not found in Grove")
2828

2929
def get_voltage(self):
30-
data = self.get_adc_raw_value
30+
data = self.get_adc_raw_value()
3131
vol = (
3232
data
3333
* 2.048

0 commit comments

Comments
 (0)