Searched refs:hinge_angle_config (Results 1 – 1 of 1) sorted by relevance
55 struct sensing_sensor_config hinge_angle_config; in main() local109 hinge_angle_config.attri = SENSING_SENSOR_ATTRIBUTE_INTERVAL; in main()110 hinge_angle_config.interval = tmp_sensor_info->minimal_interval; in main()111 ret = sensing_set_config(hinge_angle, &hinge_angle_config, 1); in main()117 memset(&hinge_angle_config, 0x00, sizeof(struct sensing_sensor_config)); in main()126 hinge_angle_config.attri = SENSING_SENSOR_ATTRIBUTE_INTERVAL; in main()127 ret = sensing_get_config(hinge_angle, &hinge_angle_config, 1); in main()141 hinge_angle_config.attri = SENSING_SENSOR_ATTRIBUTE_SENSITIVITY; in main()142 hinge_angle_config.data_field = SENSING_SENSITIVITY_INDEX_ALL; in main()143 hinge_angle_config.sensitivity = 1; in main()[all …]