summaryrefslogtreecommitdiff
path: root/test/sbs_charging.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sbs_charging.c')
-rw-r--r--test/sbs_charging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sbs_charging.c b/test/sbs_charging.c
index fc74cc8624..77a6237394 100644
--- a/test/sbs_charging.c
+++ b/test/sbs_charging.c
@@ -105,7 +105,7 @@ static int test_charge_state(void)
/* Attach battery again, charging */
ccprintf("[CHARGING TEST] Attach battery\n");
- test_attach_i2c(I2C_PORT_HOST, BATTERY_ADDR);
+ test_attach_i2c(I2C_PORT_BATTERY, BATTERY_ADDR);
state = wait_charging_state();
TEST_ASSERT(state == PWR_STATE_CHARGE);