Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adis16448 refactor #11224

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/drivers/drv_accel.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@

/** accel scaling factors; Vout = Vscale * (Vin + Voffset) */
struct accel_calibration_s {
float x_offset;
float x_scale;
float y_offset;
float y_scale;
float z_offset;
float z_scale;
float x_offset;
float y_offset;
float z_offset;
float x_scale;
float y_scale;
float z_scale;
};
/*
* ioctl() definitions
Expand Down
12 changes: 6 additions & 6 deletions src/drivers/drv_gyro.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@

/** gyro scaling factors; Vout = (Vin * Vscale) + Voffset */
struct gyro_calibration_s {
float x_offset;
float x_scale;
float y_offset;
float y_scale;
float z_offset;
float z_scale;
float x_offset;
float y_offset;
float z_offset;
float x_scale;
float y_scale;
float z_scale;
};

/*
Expand Down
12 changes: 6 additions & 6 deletions src/drivers/drv_mag.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@

/** mag scaling factors; Vout = (Vin * Vscale) + Voffset */
struct mag_calibration_s {
float x_offset;
float x_scale;
float y_offset;
float y_scale;
float z_offset;
float z_scale;
float x_offset;
float y_offset;
float z_offset;
float x_scale;
float y_scale;
float z_scale;
};

/*
Expand Down
Loading