Skip to content

Commit

Permalink
Merge pull request PX4#2256 from mcharleb/fixes-for-gcc
Browse files Browse the repository at this point in the history
Fixes for gcc 4.8
  • Loading branch information
LorenzMeier committed Jun 2, 2015
2 parents e32c00b + ca88251 commit 00fc4b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/simulator/simulator_mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static void fill_manual_control_sp_msg(struct manual_control_setpoint_s *manual,
manual->z = man_msg->z / 1000.0f;
}

void fill_sensors_from_imu_msg(struct sensor_combined_s *sensor, mavlink_hil_sensor_t *imu) {
static void fill_sensors_from_imu_msg(struct sensor_combined_s *sensor, mavlink_hil_sensor_t *imu) {
hrt_abstime timestamp = hrt_absolute_time();
sensor->timestamp = timestamp;
sensor->gyro_raw[0] = imu->xgyro * 1000.0f;
Expand Down
1 change: 1 addition & 0 deletions src/platforms/posix/px4_layer/px4_posix_tasks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ void px4_show_tasks()
}

__BEGIN_DECLS
const char *getprogname();
const char *getprogname()
{
pthread_t pid = pthread_self();
Expand Down

0 comments on commit 00fc4b5

Please sign in to comment.