Searched refs:prevState (Results 1 – 4 of 4) sorted by relevance
289 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState() local291 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); in trySwitchState()
276 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState() local278 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); in trySwitchState()
761 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); local763 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed");
728 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); local730 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed");