motor_ctrl: i2c fixes