Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
240763af
Commit
240763af
authored
Jan 16, 2019
by
Matej Frančeškin
Browse files
Added brackets around DEG_TO_RAD definitions
parent
b884191f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/GPS/definitions.h
View file @
240763af
...
...
@@ -50,8 +50,8 @@
#include
"vehicle_gps_position.h"
#include
"satellite_info.h"
#define M_DEG_TO_RAD M_PI / 180.0
#define M_RAD_TO_DEG 180.0 / M_PI
#define M_DEG_TO_RAD
(
M_PI / 180.0
)
#define M_RAD_TO_DEG
(
180.0 / M_PI
)
#define M_DEG_TO_RAD_F 0.01745329251994f
#define M_RAD_TO_DEG_F 57.2957795130823f
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment