From c5f7f6867fd64329a06ee0a1ea43f0d15883bfbe Mon Sep 17 00:00:00 2001 From: Philip Howard Date: Thu, 4 Jun 2020 10:08:14 +0100 Subject: [PATCH] Fix typo in unknown_1 register access This would have silently created a property on the class instance, rather than writing the register. --- adafruit_apds9500.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_apds9500.py b/adafruit_apds9500.py index aef3b94..b5cdf66 100644 --- a/adafruit_apds9500.py +++ b/adafruit_apds9500.py @@ -386,7 +386,7 @@ def __init__(self, i2c_bus, address=APDS9500_DEFAULT_ADDRESS): self.ae_gain_lb = 0x20 self.manual = 0x10 - self.unkown_1 = 0x10 + self.unknown_1 = 0x10 self.unknown_2 = 0x27 self.apds9500_input_mode_gpio_0_1 = 0x42