From 15f3ada70003de517309884e1c098586f94a0a16 Mon Sep 17 00:00:00 2001 From: peabody124 Date: Tue, 1 Feb 2011 02:18:22 +0000 Subject: [PATCH] Get rid of ms * 10 units since the time resolution of FreeRTOS is in ms git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2665 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/Modules/Actuator/actuator.c | 2 +- shared/uavobjectdefinition/actuatorcommand.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/Modules/Actuator/actuator.c b/flight/Modules/Actuator/actuator.c index 7018101bf..6c5b1e3ce 100644 --- a/flight/Modules/Actuator/actuator.c +++ b/flight/Modules/Actuator/actuator.c @@ -217,7 +217,7 @@ static void actuatorTask(void* parameters) MixerStatusSet(&mixerStatus); // Store update time - command.UpdateTime = 10000*dT; + command.UpdateTime = 1000*dT; if(1000*dT > command.MaxUpdateTime) command.MaxUpdateTime = 1000*dT; diff --git a/shared/uavobjectdefinition/actuatorcommand.xml b/shared/uavobjectdefinition/actuatorcommand.xml index 03bf3c27a..0d7de05a6 100644 --- a/shared/uavobjectdefinition/actuatorcommand.xml +++ b/shared/uavobjectdefinition/actuatorcommand.xml @@ -2,7 +2,7 @@ Contains the pulse duration sent to each of the channels. Set by @ref ActuatorModule - +