Rtos code cntains bug possible incompatability with I2C

Fork of mbed-rtos by mbed official

Revision:
118:4c105b8d7cae
Parent:
31:015df9e602b6