Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c351 struct ConfigCmd mConfigCmd; in main() local
384 mConfigCmd.cmd = CONFIG_CMD_ENABLE; in main()
386 mConfigCmd.cmd = CONFIG_CMD_DISABLE; in main()
391 mConfigCmd.evtType = EVT_NO_SENSOR_CONFIG_EVENT; in main()
392 mConfigCmd.rate = SENSOR_HZ((float)atoi(argv[4])); in main()
393 mConfigCmd.latency = atoi(argv[5]) * 1000ull; in main()
394 if (setType(&mConfigCmd, argv[2])) { in main()
403 mConfigCmd.evtType = EVT_NO_SENSOR_CONFIG_EVENT; in main()
404 mConfigCmd.rate = 0; in main()
405 mConfigCmd.latency = 0; in main()
[all …]