Home
last modified time | relevance | path

Searched refs:directionNode (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/sensor/driver/common/src/
H A Dsensor_config_parser.c466 const struct DeviceResourceNode *directionNode = NULL; in ParseSensorDirection() local
473 directionNode = parser->GetChildNode(config->root, "sensorDirection"); in ParseSensorDirection()
474 CHECK_NULL_PTR_RETURN_VALUE(directionNode, HDF_ERR_INVALID_PARAM); in ParseSensorDirection()
476 num = parser->GetElemNum(directionNode, "convert"); in ParseSensorDirection()
477 ret = parser->GetUint32(directionNode, "direction", &index, 0); in ParseSensorDirection()
487 ret = parser->GetUint32Array(directionNode, "convert", buf, num, 0); in ParseSensorDirection()