Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8daee549
Commit
8daee549
authored
Sep 05, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis-ci add CONFIG+=WarningsAsErrorsOn
parent
474230af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
.travis.yml
.travis.yml
+1
-1
RadioComponentController.cc
src/AutoPilotPlugins/PX4/RadioComponentController.cc
+3
-3
FirmwareUpgradeController.cc
src/VehicleSetup/FirmwareUpgradeController.cc
+1
-1
JoystickConfigController.cc
src/VehicleSetup/JoystickConfigController.cc
+3
-3
No files found.
.travis.yml
View file @
8daee549
...
...
@@ -50,7 +50,7 @@ install:
fi
before_script
:
qmake -r qgroundcontrol.pro CONFIG+=${CONFIG} -spec ${SPEC}
before_script
:
qmake -r qgroundcontrol.pro CONFIG+=${CONFIG}
CONFIG+=WarningsAsErrorsOn
-spec ${SPEC}
script
:
-
echo 'Building QGroundControl' && echo -en 'travis_fold:start:script.1\\r'
-
make -j4
...
...
src/AutoPilotPlugins/PX4/RadioComponentController.cc
View file @
8daee549
...
...
@@ -624,7 +624,7 @@ void RadioComponentController::_inputFlapsDetect(enum rcCalFunctions function, i
void
RadioComponentController
::
_resetInternalCalibrationValues
(
void
)
{
// Set all raw channels to not reversed and center point values
for
(
size_
t
i
=
0
;
i
<
_chanMax
;
i
++
)
{
for
(
in
t
i
=
0
;
i
<
_chanMax
;
i
++
)
{
struct
ChannelInfo
*
info
=
&
_rgChannelInfo
[
i
];
info
->
function
=
rcCalFunctionMax
;
info
->
reversed
=
false
;
...
...
@@ -673,7 +673,7 @@ void RadioComponentController::_setInternalCalibrationValuesFromParameters(void)
{
// Initialize all function mappings to not set
for
(
size_
t
i
=
0
;
i
<
_chanMax
;
i
++
)
{
for
(
in
t
i
=
0
;
i
<
_chanMax
;
i
++
)
{
struct
ChannelInfo
*
info
=
&
_rgChannelInfo
[
i
];
info
->
function
=
rcCalFunctionMax
;
}
...
...
@@ -865,7 +865,7 @@ void RadioComponentController::_stopCalibration(void)
void
RadioComponentController
::
_rcCalSaveCurrentValues
(
void
)
{
qCDebug
(
RadioComponentControllerLog
)
<<
"_rcCalSaveCurrentValues"
;
for
(
unsigned
i
=
0
;
i
<
_chanMax
;
i
++
)
{
for
(
int
i
=
0
;
i
<
_chanMax
;
i
++
)
{
_rcValueSave
[
i
]
=
_rcRawValue
[
i
];
}
}
...
...
src/VehicleSetup/FirmwareUpgradeController.cc
View file @
8daee549
...
...
@@ -206,7 +206,7 @@ void FirmwareUpgradeController::_getFirmwareFile(FirmwareType_t firmwareType)
// Select the firmware set based on board type
const
DownloadLocationByFirmwareType_t
*
prgFirmware
;
size_t
crgFirmware
;
size_t
crgFirmware
=
0
;
switch
(
_bootloaderBoardID
)
{
case
Bootloader
:
:
boardIDPX4FMUV1
:
...
...
src/VehicleSetup/JoystickConfigController.cc
View file @
8daee549
...
...
@@ -411,7 +411,7 @@ void JoystickConfigController::_inputCenterWait(Joystick::AxisFunction_t functio
void
JoystickConfigController
::
_resetInternalCalibrationValues
(
void
)
{
// Set all raw axiss to not reversed and center point values
for
(
size_
t
i
=
0
;
i
<
_axisMax
;
i
++
)
{
for
(
in
t
i
=
0
;
i
<
_axisMax
;
i
++
)
{
struct
AxisInfo
*
info
=
&
_rgAxisInfo
[
i
];
info
->
function
=
Joystick
::
maxFunction
;
info
->
reversed
=
false
;
...
...
@@ -435,7 +435,7 @@ void JoystickConfigController::_setInternalCalibrationValuesFromSettings(void)
// Initialize all function mappings to not set
for
(
size_
t
i
=
0
;
i
<
_axisMax
;
i
++
)
{
for
(
in
t
i
=
0
;
i
<
_axisMax
;
i
++
)
{
struct
AxisInfo
*
info
=
&
_rgAxisInfo
[
i
];
info
->
function
=
Joystick
::
maxFunction
;
}
...
...
@@ -580,7 +580,7 @@ void JoystickConfigController::_stopCalibration(void)
void
JoystickConfigController
::
_calSaveCurrentValues
(
void
)
{
qCDebug
(
JoystickConfigControllerLog
)
<<
"_calSaveCurrentValues"
;
for
(
unsigned
i
=
0
;
i
<
_axisMax
;
i
++
)
{
for
(
int
i
=
0
;
i
<
_axisMax
;
i
++
)
{
_axisValueSave
[
i
]
=
_axisRawValue
[
i
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment