From 0ffd9e764d2924d33ff8097f9feb8fb4998c4943 Mon Sep 17 00:00:00 2001 From: abeck70 Date: Fri, 29 May 2015 09:04:59 +1000 Subject: [PATCH] REVONANO fix compile error in vtolbrakefsm --- flight/modules/PathFollower/vtolbrakefsm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/modules/PathFollower/vtolbrakefsm.cpp b/flight/modules/PathFollower/vtolbrakefsm.cpp index bcaf783b4..543f526fb 100644 --- a/flight/modules/PathFollower/vtolbrakefsm.cpp +++ b/flight/modules/PathFollower/vtolbrakefsm.cpp @@ -62,7 +62,7 @@ extern "C" { // Private constants #define TIMER_COUNT_PER_SECOND (1000 / vtolPathFollowerSettings->UpdatePeriod) #define BRAKE_FRACTIONALPROGRESS_STARTVELOCITYCHECK 0.95f -#define BRAKE_EXIT_VELOCITY_LIMIT 0.15 +#define BRAKE_EXIT_VELOCITY_LIMIT 0.15f VtolBrakeFSM::PathFollowerFSM_BrakeStateHandler_T VtolBrakeFSM::sBrakeStateTable[BRAKE_STATE_SIZE] = { [BRAKE_STATE_INACTIVE] = { .setup = 0, .run = 0 },