Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
c6e7c0fa
Commit
c6e7c0fa
authored
6 years ago
by
bresch
Committed by
Matthias Grob
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Parameter update - Rename variables in modules/events
using parameter_update.py script
parent
2ca8ddd8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/modules/events/send_event.cpp
+2
-2
2 additions, 2 deletions
src/modules/events/send_event.cpp
src/modules/events/send_event.h
+2
-2
2 additions, 2 deletions
src/modules/events/send_event.h
with
4 additions
and
4 deletions
src/modules/events/send_event.cpp
+
2
−
2
View file @
c6e7c0fa
...
...
@@ -70,11 +70,11 @@ int SendEvent::task_spawn(int argc, char *argv[])
SendEvent
::
SendEvent
()
:
ModuleParams
(
nullptr
)
{
if
(
_param_stat
us
_dis
play
.
get
())
{
if
(
_param_
ev_tsk_
stat_dis
.
get
())
{
_status_display
=
new
status
::
StatusDisplay
(
_subscriber_handler
);
}
if
(
_param_rc_loss
.
get
())
{
if
(
_param_
ev_tsk_
rc_loss
.
get
())
{
_rc_loss_alarm
=
new
rc_loss
::
RC_Loss_Alarm
(
_subscriber_handler
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/modules/events/send_event.h
+
2
−
2
View file @
c6e7c0fa
...
...
@@ -138,10 +138,10 @@ private:
/** @note Declare local parameters using defined parameters. */
DEFINE_PARAMETERS
(
/** @var _param_status_display Parameter to enable/disable the LED status display. */
(
ParamBool
<
px4
::
params
::
EV_TSK_STAT_DIS
>
)
_param_stat
us
_dis
play
,
(
ParamBool
<
px4
::
params
::
EV_TSK_STAT_DIS
>
)
_param_
ev_tsk_
stat_dis
,
/** @var _param_rc_loss The RC comms loss status flag. */
(
ParamBool
<
px4
::
params
::
EV_TSK_RC_LOSS
>
)
_param_rc_loss
(
ParamBool
<
px4
::
params
::
EV_TSK_RC_LOSS
>
)
_param_
ev_tsk_
rc_loss
)
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment