Rtos code cntains bug possible incompatability with I2C

Fork of mbed-rtos by mbed official

Revision:
118:4c105b8d7cae
Parent:
80:2dab120a94c2