From 3d665918e0c1ffedf1fbd461fdec98c13b0a3f88 Mon Sep 17 00:00:00 2001 From: Mikaela Szekely Date: Tue, 21 Jan 2020 13:30:10 -0700 Subject: [PATCH] host: fix typo which broke I2C scanning --- host/greatfet/interfaces/i2c_bus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/greatfet/interfaces/i2c_bus.py b/host/greatfet/interfaces/i2c_bus.py index 04502fde..27aead13 100644 --- a/host/greatfet/interfaces/i2c_bus.py +++ b/host/greatfet/interfaces/i2c_bus.py @@ -122,7 +122,7 @@ def scan(self): in response for valid/invalid addresses. """ - responses = self.api.i2c.scan() + responses = self.api.scan() write_responses = responses[:16] read_responses = responses[16:] responses = []