From 232e2d8f7cebee2a51f86f52b5c564ce8f6c9ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Socho=C5=84?= Date: Thu, 13 Aug 2020 22:48:43 +0200 Subject: [PATCH] Fix docstrings for adafruit_ina219.py Init method uses `addr` and not `i2c_addr`. --- adafruit_ina219.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit_ina219.py b/adafruit_ina219.py index 2c1ba4e..9fce8ff 100644 --- a/adafruit_ina219.py +++ b/adafruit_ina219.py @@ -134,9 +134,9 @@ class INA219: # Basic API: - # INA219( i2c_bus, i2c_addr) Create instance of INA219 sensor + # INA219( i2c_bus, addr) Create instance of INA219 sensor # :param i2c_bus The I2C bus the INA219is connected to - # :param i2c_addr (0x40) Address of the INA219 on the bus (default 0x40) + # :param addr (0x40) Address of the INA219 on the bus (default 0x40) # shunt_voltage RO : shunt voltage scaled to Volts # bus_voltage RO : bus voltage (V- to GND) scaled to volts (==load voltage)