From 3c6488b99eab2f573a28b9d5d8e3042121e808a0 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Thu, 5 Aug 2021 21:14:09 -0500 Subject: [PATCH] Disable I2CA in all firmware builds It is unlikely that any future revision of the hardware will use I2CA. --- firmware/build.sh | 2 +- firmware/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/build.sh b/firmware/build.sh index 1b3e0f6..df931be 100755 --- a/firmware/build.sh +++ b/firmware/build.sh @@ -45,7 +45,7 @@ sdcc \ -I. \ -DFW_REVISION_STR="\"$(git describe) $(git log -1 --format=%cd --date=iso)\"" \ -DCONFIG_STOCK_FW=1 \ - -DCONFIG_I2C_A=1 \ + -DCONFIG_I2C_A=0 \ build/stock-ivt.rel main.c \ -o build/fw-stock.ihx diff --git a/firmware/main.c b/firmware/main.c index 28c3a55..49d24c4 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -37,7 +37,7 @@ #define CONFIG_STOCK_FW 1 #endif #ifndef CONFIG_I2C_A -#define CONFIG_I2C_A 1 +#define CONFIG_I2C_A 0 #endif #define USB_DEBUG 0