Commit 49a778ed authored by pixhawk's avatar pixhawk

Fixed windows build errors/warnings

parent 415baa2c
...@@ -147,7 +147,7 @@ void MAVLinkSimulationMAV::mainloop() ...@@ -147,7 +147,7 @@ void MAVLinkSimulationMAV::mainloop()
attitude.usec = 0; attitude.usec = 0;
attitude.roll = 0.0f; attitude.roll = 0.0f;
attitude.pitch = 0.0f; attitude.pitch = 0.0f;
attitude.yaw = yaw-M_PI_2; attitude.yaw = yaw-(M_PI/2.0);
attitude.rollspeed = 0.0f; attitude.rollspeed = 0.0f;
attitude.pitchspeed = 0.0f; attitude.pitchspeed = 0.0f;
attitude.yawspeed = 0.0f; attitude.yawspeed = 0.0f;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment