Skip to content

Commit 28712e4

Browse files
committed
Missed the f
Thankfully the f-ing mac test let me know.
1 parent 92333ed commit 28712e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/io/osd_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void osdDrawArtificialHorizon(displayPort_t *display, displayCanvas_t *canvas, c
149149
uint8_t gy;
150150

151151
// Correct pitch when inverted
152-
if (rollAngle < -1.570796 || rollAngle > 1.570796)
152+
if (rollAngle < -1.570796f || rollAngle > 1.570796f)
153153
pitchAngle = -pitchAngle;
154154

155155
#if defined(USE_CANVAS)

0 commit comments

Comments
 (0)