Skip to content

Commit

Permalink
[squash] style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Jan 19, 2018
1 parent 839b49c commit 26a67e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/drivers/mpu6000/mpu6000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ MPU6000::init()

struct accel_unfiltered_report accel_unfiltered_report = {};
_accel_unfiltered_topic = orb_advertise_multi(ORB_ID(sensor_accel_unfiltered), &accel_unfiltered_report,
&_accel_orb_class_instance, ORB_PRIO_HIGH);
&_accel_orb_class_instance, ORB_PRIO_HIGH);

if (_accel_topic == nullptr) {
PX4_WARN("ADVERT FAIL");
Expand All @@ -783,7 +783,7 @@ MPU6000::init()

struct gyro_unfiltered_report unfiltered_report = {};
_gyro->_gyro_unfiltered_topic = orb_advertise_multi(ORB_ID(sensor_gyro_unfiltered), &unfiltered_report,
&_gyro->_gyro_orb_class_instance, ORB_PRIO_HIGH);
&_gyro->_gyro_orb_class_instance, ORB_PRIO_HIGH);

if (_gyro->_gyro_topic == nullptr) {
PX4_WARN("ADVERT FAIL");
Expand Down
4 changes: 2 additions & 2 deletions src/drivers/mpu9250/mpu9250.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ MPU9250::init()

struct accel_unfiltered_report accel_unfiltered_report = {};
_accel_unfiltered_topic = orb_advertise_multi(ORB_ID(sensor_accel_unfiltered), &accel_unfiltered_report,
&_accel_orb_class_instance, ORB_PRIO_HIGH);
&_accel_orb_class_instance, ORB_PRIO_HIGH);

if (_accel_topic == nullptr) {
PX4_ERR("ADVERT FAIL");
Expand All @@ -428,7 +428,7 @@ MPU9250::init()

struct gyro_unfiltered_report unfiltered_report = {};
_gyro->_gyro_unfiltered_topic = orb_advertise_multi(ORB_ID(sensor_gyro_unfiltered), &unfiltered_report,
&_gyro->_gyro_orb_class_instance, ORB_PRIO_HIGH);
&_gyro->_gyro_orb_class_instance, ORB_PRIO_HIGH);

if (_gyro->_gyro_topic == nullptr) {
PX4_ERR("ADVERT FAIL");
Expand Down
3 changes: 2 additions & 1 deletion src/modules/mc_att_control/mc_att_control_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ class MulticopterAttitudeControl
struct vehicle_status_s _vehicle_status; /**< vehicle status */
struct mc_att_ctrl_status_s _controller_status; /**< controller status */
struct battery_status_s _battery_status; /**< battery status */
struct sensor_gyro_control_s _sensor_gyro; /**< gyro data before thermal correctons and ekf bias estimates are applied */
struct sensor_gyro_control_s
_sensor_gyro; /**< gyro data before thermal correctons and ekf bias estimates are applied */
struct sensor_correction_s _sensor_correction; /**< sensor thermal corrections */
struct sensor_bias_s _sensor_bias; /**< sensor in-run bias corrections */

Expand Down

0 comments on commit 26a67e2

Please sign in to comment.