Skip to content

Commit

Permalink
correct format
Browse files Browse the repository at this point in the history
  • Loading branch information
saeugetier committed Jun 2, 2024
1 parent 1a3cfcd commit 919ee6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, cfg):
super().__init__(cfg, logger)

def init_batt_mon_hw(self, num, denom):
self.adc = INA219(float(num)/1000, busnum=1)
self.adc = INA219(float(num) / 1000, busnum=1)
self.adc.configure(self.adc.RANGE_16V, self.adc.GAIN_AUTO, self.adc.ADC_32SAMP, self.adc.ADC_32SAMP)

def get_batt_voltage(self):
Expand Down

0 comments on commit 919ee6b

Please sign in to comment.