Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c71 char *pedometer_time; member
225 sprintf(mpu.pedometer_time, "%s%s", sysfs_path, "/pedometer_time"); in inv_init_sysfs_attributes()
406 long pedometer_time; in pedometer_handler() local
416 fp = fopen(mpu.pedometer_time, "rt"); in pedometer_handler()
417 fscanf(fp, "%ld\n", &pedometer_time); in pedometer_handler()
422 pedometer_steps, pedometer_time); in pedometer_handler()
424 || pedometer_time > (pedometer_poll_timeout * 2)) in pedometer_handler()
429 || last_pedometer_time != pedometer_time) { in pedometer_handler()
431 pedometer_steps, pedometer_time); in pedometer_handler()
435 last_pedometer_time = pedometer_time; in pedometer_handler()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c406 long pedometer_time; in handle_pedometer() local
419 pedometer_time = read_sysfs_posint("pedometer_time", dev_dir_name); in handle_pedometer()
425 pedometer_steps, pedometer_time); in handle_pedometer()
427 || pedometer_time > (pedometer_poll_timeout * 2)) in handle_pedometer()
433 || last_pedometer_time != pedometer_time) { in handle_pedometer()
437 pedometer_steps, pedometer_time); in handle_pedometer()
442 last_pedometer_time = pedometer_time; in handle_pedometer()