Searched refs:CW_MAGNETIC (Results 1 – 2 of 2) sorted by relevance
281 mPendingEvents[CW_MAGNETIC].version = sizeof(sensors_event_t); in CwMcuSensor()282 mPendingEvents[CW_MAGNETIC].sensor = ID_M; in CwMcuSensor()283 mPendingEvents[CW_MAGNETIC].type = SENSOR_TYPE_MAGNETIC_FIELD; in CwMcuSensor()519 rc = cw_read_calibrator_file(CW_MAGNETIC, SAVE_PATH_MAG, compass_temp_data); in CwMcuSensor()524 cw_save_calibrator_file(CW_MAGNETIC, fixed_sysfs_path, compass_temp_data); in CwMcuSensor()572 case CW_MAGNETIC: in find_handle()668 what = CW_MAGNETIC; in find_sensor()824 ((what == CW_MAGNETIC) || in setEnable()829 rc = cw_read_calibrator_file(CW_MAGNETIC, fixed_sysfs_path, temp_data); in setEnable()831 cw_save_calibrator_file(CW_MAGNETIC, SAVE_PATH_MAG, temp_data); in setEnable()[all …]
35 CW_MAGNETIC = 1, enumerator