Infineon / optiga-trust-x

OPTIGA™ Trust X Software Framework
MIT License
37 stars 19 forks source link

I2C write bug #37

Closed krajcark closed 4 years ago

krajcark commented 4 years ago

Hi, When I2C write fails, its sets the status to PAL_STATUS_I2C_BUSY, should it not be set to PAL_STATUS_FAILURE?

https://github.com/Infineon/optiga-trust-x/blob/7376f458336f25abb477b27eb96edefe2d671270/pal/mbedos/pal_i2c.cpp#L262

pwiegele commented 4 years ago

You are right @krajcark I fixed it here