update code

Dependencies:   X_NUCLEO_IKS01A1 mbed-rtos mbed

no such method: docs