mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-01 18:29:16 +01:00
fixing minor compiler error/warnings when compiling OP with DEBUG=NO
This commit is contained in:
parent
6e64a546df
commit
7b8d09371b
@ -288,7 +288,7 @@ class UAVObject:
|
|||||||
uint32_t type;
|
uint32_t type;
|
||||||
uint32_t numElements;
|
uint32_t numElements;
|
||||||
uint8_t const *tmpStr;
|
uint8_t const *tmpStr;
|
||||||
int8_t tmpInt8;
|
int8_t tmpInt8 = 0;
|
||||||
int16_t tmpInt16;
|
int16_t tmpInt16;
|
||||||
int32_t tmpInt32;
|
int32_t tmpInt32;
|
||||||
float tmpFloat;
|
float tmpFloat;
|
||||||
|
@ -236,7 +236,7 @@ void updateVtolDesiredVelocity()
|
|||||||
{
|
{
|
||||||
static portTickType lastSysTime;
|
static portTickType lastSysTime;
|
||||||
portTickType thisSysTime = xTaskGetTickCount();;
|
portTickType thisSysTime = xTaskGetTickCount();;
|
||||||
float dT;
|
float dT = 0;
|
||||||
|
|
||||||
GuidanceSettingsData guidanceSettings;
|
GuidanceSettingsData guidanceSettings;
|
||||||
PositionActualData positionActual;
|
PositionActualData positionActual;
|
||||||
@ -304,7 +304,7 @@ static void updateVtolDesiredAttitude()
|
|||||||
{
|
{
|
||||||
static portTickType lastSysTime;
|
static portTickType lastSysTime;
|
||||||
portTickType thisSysTime = xTaskGetTickCount();;
|
portTickType thisSysTime = xTaskGetTickCount();;
|
||||||
float dT;
|
float dT = 0;
|
||||||
|
|
||||||
VelocityDesiredData velocityDesired;
|
VelocityDesiredData velocityDesired;
|
||||||
VelocityActualData velocityActual;
|
VelocityActualData velocityActual;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user