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.c447 struct ConfigCmd mConfigCmd; in main() local
448 struct ConfigCmd *pConfigCmd = &mConfigCmd; in main()
449 size_t length = sizeof(mConfigCmd); in main()
486 mConfigCmd.cmd = CONFIG_CMD_ENABLE; in main()
488 mConfigCmd.cmd = CONFIG_CMD_DISABLE; in main()
493 mConfigCmd.evtType = EVT_NO_SENSOR_CONFIG_EVENT; in main()
494 mConfigCmd.rate = SENSOR_HZ((float)atoi(argv[4])); in main()
495 mConfigCmd.latency = atoi(argv[5]) * 1000ull; in main()
496 if (setType(&mConfigCmd, argv[2])) { in main()
501 mConfigCmd.evtType = EVT_NO_SENSOR_CONFIG_EVENT; in main()
[all …]