From ebbe322dba5c790fee5dfdba457e839632bc3d29 Mon Sep 17 00:00:00 2001 From: James Goppert Date: Thu, 24 Sep 2015 16:16:49 -0400 Subject: [PATCH] Attempt to fix odd travis sitl build error. --- src/lib/launchdetection/CatapultLaunchMethod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/launchdetection/CatapultLaunchMethod.cpp b/src/lib/launchdetection/CatapultLaunchMethod.cpp index 35d8b00c42..f13c7c4bfe 100644 --- a/src/lib/launchdetection/CatapultLaunchMethod.cpp +++ b/src/lib/launchdetection/CatapultLaunchMethod.cpp @@ -79,7 +79,7 @@ void CatapultLaunchMethod::update(float accel_x) if (motorDelay.get() > 0.0f) { state = LAUNCHDETECTION_RES_DETECTED_ENABLECONTROL; warnx("Launch detected: enablecontrol, waiting %8.4fs until full throttle", - (double)(motorDelay.get())); + double(motorDelay.get())); } else { /* No motor delay set: go directly to enablemotors state */