1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

fixing minor compiler error/warnings when compiling OP with DEBUG=NO

This commit is contained in:
Mathieu Rondonneau 2011-06-03 21:47:43 -07:00
parent 6e64a546df
commit 7b8d09371b
2 changed files with 3 additions and 3 deletions

View File

@ -288,7 +288,7 @@ class UAVObject:
uint32_t type;
uint32_t numElements;
uint8_t const *tmpStr;
int8_t tmpInt8;
int8_t tmpInt8 = 0;
int16_t tmpInt16;
int32_t tmpInt32;
float tmpFloat;

View File

@ -236,7 +236,7 @@ void updateVtolDesiredVelocity()
{
static portTickType lastSysTime;
portTickType thisSysTime = xTaskGetTickCount();;
float dT;
float dT = 0;
GuidanceSettingsData guidanceSettings;
PositionActualData positionActual;
@ -304,7 +304,7 @@ static void updateVtolDesiredAttitude()
{
static portTickType lastSysTime;
portTickType thisSysTime = xTaskGetTickCount();;
float dT;
float dT = 0;
VelocityDesiredData velocityDesired;
VelocityActualData velocityActual;