Rtos code cntains bug possible incompatability with I2C

Fork of mbed-rtos by mbed official

Revision:
118:4c105b8d7cae
Parent:
8:88a1a9c26ae3