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
08eff3b2
Commit
08eff3b2
authored
Apr 22, 2016
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
F%$#* Windows...
parent
aa52020c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
PX4SimpleFlightModesController.cc
src/AutoPilotPlugins/PX4/PX4SimpleFlightModesController.cc
+9
-1
No files found.
src/AutoPilotPlugins/PX4/PX4SimpleFlightModesController.cc
View file @
08eff3b2
...
...
@@ -55,7 +55,11 @@ void PX4SimpleFlightModesController::_rcChannelsChanged(int channelCount, int pw
Fact
*
pFact
=
getParameterFact
(
-
1
,
"RC_MAP_FLTMODE"
);
if
(
!
pFact
)
{
#if defined _MSC_VER
qCritical
()
<<
"RC_MAP_FLTMODE Fact is NULL in"
<<
__FILE__
<<
__LINE__
;
#else
qCritical
()
<<
"RC_MAP_FLTMODE Fact is NULL in"
<<
__func__
<<
__FILE__
<<
__LINE__
;
#endif
return
;
}
...
...
@@ -63,7 +67,11 @@ void PX4SimpleFlightModesController::_rcChannelsChanged(int channelCount, int pw
pFact
=
getParameterFact
(
-
1
,
QString
(
"RC%1_REV"
).
arg
(
flightModeChannel
+
1
));
if
(
!
pFact
)
{
qCritical
()
<<
QString
(
"RC%1_REV"
).
arg
(
flightModeChannel
+
1
)
<<
"is NULL in"
<<
__func__
<<
__FILE__
<<
__LINE__
;
#if defined _MSC_VER
qCritical
()
<<
QString
(
"RC%1_REV"
).
arg
(
flightModeChannel
+
1
)
<<
"Fact is NULL in"
<<
__FILE__
<<
__LINE__
;
#else
qCritical
()
<<
QString
(
"RC%1_REV"
).
arg
(
flightModeChannel
+
1
)
<<
" Fact is NULL in"
<<
__func__
<<
__FILE__
<<
__LINE__
;
#endif
return
;
}
...
...
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