Skip to content

Commit

Permalink
Set default set_publlish() argument to true.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsauder authored and bkueng committed Mar 5, 2019
1 parent 0bd5d6c commit a97151f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/simulator/simulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ class Simulator : public ModuleParams
void send_controls();
void send_heartbeat();
void send_mavlink_message(const mavlink_message_t &aMsg);
void set_publish(const bool publish = false);
void set_publish(const bool publish = true);
void update_sensors(mavlink_hil_sensor_t *imu);
void update_gps(mavlink_hil_gps_t *gps_sim);

Expand Down

0 comments on commit a97151f

Please sign in to comment.