Searched refs:inv_data_builder (Results 1 – 2 of 2) sorted by relevance
59 static struct inv_data_builder_t inv_data_builder; variable70 inv_data_builder.file = file; in inv_turn_on_data_logging()71 inv_data_builder.debug_mode = RD_RECORD; in inv_turn_on_data_logging()80 inv_data_builder.debug_mode = RD_NO_DEBUG; in inv_turn_off_data_logging()81 inv_data_builder.file = NULL; in inv_turn_off_data_logging()96 memcpy(&inv_data_builder.save, data, sizeof(inv_data_builder.save)); in inv_db_load_func()98 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; in inv_db_load_func()99 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; in inv_db_load_func()100 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy; in inv_db_load_func()114 memcpy(data, &inv_data_builder.save, sizeof(inv_data_builder.save)); in inv_db_save_func()[all …]
60 static struct inv_data_builder_t inv_data_builder; variable71 inv_data_builder.file = file; in inv_turn_on_data_logging()72 inv_data_builder.debug_mode = RD_RECORD; in inv_turn_on_data_logging()81 inv_data_builder.debug_mode = RD_NO_DEBUG; in inv_turn_off_data_logging()82 inv_data_builder.file = NULL; in inv_turn_off_data_logging()97 memcpy(&inv_data_builder.save, data, sizeof(inv_data_builder.save)); in inv_db_load_func()99 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; in inv_db_load_func()100 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; in inv_db_load_func()101 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy; in inv_db_load_func()115 memcpy(data, &inv_data_builder.save, sizeof(inv_data_builder.save)); in inv_db_save_func()[all …]