Skip to content

Commit 48d7670

Browse files
committed
compilation error Windows
1 parent c6c11db commit 48d7670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Beast.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class Beast : public SimpleStreamInOut<RAW, Plane::ADSB>
288288
// Calculate ground speed and heading
289289
double speed = sqrt(east_west_vel * east_west_vel +
290290
north_south_vel * north_south_vel);
291-
double heading = atan2(east_west_vel, north_south_vel) * 180 / M_PI;
291+
double heading = atan2(east_west_vel, north_south_vel) * 180 / PI;
292292
if (heading < 0)
293293
heading += 360;
294294

0 commit comments

Comments
 (0)