Fix ecc608_check_address call
* Support was added for checking busses, but then the bus wasn't passed
to the call.
* Also bumps to 1.2 to make sure the fix is available.
Change-Id: I418707c99a27197a82307102ed63848b4032b089
diff --git a/python/coral-cloudiot/coral/cloudiot/ecc608.py b/python/coral-cloudiot/coral/cloudiot/ecc608.py
index 33cdfab..e3c52e8 100644
--- a/python/coral-cloudiot/coral/cloudiot/ecc608.py
+++ b/python/coral-cloudiot/coral/cloudiot/ecc608.py
@@ -68,7 +68,7 @@
# Bus and address can change for Pi/Dev Board as well as if using enviro.
for bus in (0, 1):
for addr in (0x30, 0x60, 0x62):
- if _ecc608_check_address(addr):
+ if _ecc608_check_address(bus, addr):
logger.info('Found crypto chip at 0x%x', addr)
return addr
logger.warning('No crypto detected, using SW.')
diff --git a/python/coral-cloudiot/debian/changelog b/python/coral-cloudiot/debian/changelog
index fad2a75..da34dd8 100644
--- a/python/coral-cloudiot/debian/changelog
+++ b/python/coral-cloudiot/debian/changelog
@@ -1,3 +1,9 @@
+coral-cloudiot (1.2) stable; urgency=low
+
+ * Bug fix for multiple i2c busses.
+
+ -- Coral <coral-support@google.com> Tue, 4 Feb 2020 11:46:17 -0700
+
coral-cloudiot (1.1) stable; urgency=low
* Adds support for multiple i2c busses, thus supporting the on-board