esp32: i2c: fix: fixed error status handling

Fixed error status handling on ESP32's I2C.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
1 file changed