From d6bb0a385a6f152cb612d598431aed5b06a77092 Mon Sep 17 00:00:00 2001 From: dherrada Date: Tue, 30 Jun 2020 14:16:51 -0400 Subject: [PATCH] Reordered parameters --- adafruit_l3gd20.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_l3gd20.py b/adafruit_l3gd20.py index 8505a0a..e533dc9 100644 --- a/adafruit_l3gd20.py +++ b/adafruit_l3gd20.py @@ -221,7 +221,7 @@ class L3GD20_I2C(L3GD20): """Gives the raw gyro readings, in units of rad/s.""" def __init__( - self, i2c, rng=L3DS20_RANGE_250DPS, rate=L3DS20_RATE_100HZ, address=0x6B + self, i2c, rng=L3DS20_RANGE_250DPS, address=0x6B, rate=L3DS20_RATE_100HZ ): import adafruit_bus_device.i2c_device as i2c_device # pylint: disable=import-outside-toplevel