commit | 075ae16f13b7d6c7f4c904ff209cabea7c13ae63 | [log] [tgz] |
---|---|---|
author | Alex Van Damme <atv@google.com> | Tue Nov 10 14:13:02 2020 -0800 |
committer | Alex Van Damme <atv@google.com> | Wed Dec 02 18:00:00 2020 -0800 |
tree | b33e6d37e0b80bf3e49fc40a5c95f69f3082b14d | |
parent | 8dc1f1434da50a4b7361d651239c1f3f4f8cc25b [diff] |
Adjust default I2C bus/address Change-Id: Ie62edba4f96ce301ef74c62519ca09d630ba4cc3
diff --git a/hostlib/hostLib/platform/linux/i2c_a7.c b/hostlib/hostLib/platform/linux/i2c_a7.c index 1aff3bc..cb12ac2 100644 --- a/hostlib/hostLib/platform/linux/i2c_a7.c +++ b/hostlib/hostLib/platform/linux/i2c_a7.c
@@ -28,8 +28,8 @@ #include "nxLog_smCom.h" -static char* default_axSmDevice_name = "/dev/i2c-1"; -static int default_axSmDevice_addr = 0x48; // 7-bit address +static char* default_axSmDevice_name = "/dev/i2c-0"; +static int default_axSmDevice_addr = 0x49; // 7-bit address #define DEV_NAME_BUFFER_SIZE 64