add/fix mcp23017 i2c gpio expander functions and tests

Change-Id: Ia2e5a1bf3f97272931014e54e587109297556c03
This commit is contained in:
Joachim Steiger
2019-10-24 18:09:05 +02:00
parent 3feadfa910
commit f7f1ea864d
6 changed files with 52 additions and 9 deletions

View File

@@ -96,7 +96,7 @@ static void i2c_start_cond(void)
i2c_started = true;
}
static void i2c_stop_cond(void)
void i2c_stop_cond(void)
{
clear_sda();
set_scl();