simplify i2c_write expect_ack default parameter handling