Rtos code cntains bug possible incompatability with I2C

Fork of mbed-rtos by mbed official

Revision:
118:4c105b8d7cae
Parent:
107:bdd541595fc5