Skip to content
Snippets Groups Projects
Commit c6e7c0fa authored by bresch's avatar bresch Committed by Matthias Grob
Browse files

Parameter update - Rename variables in modules/events

using parameter_update.py script
parent 2ca8ddd8
No related branches found
No related tags found
No related merge requests found
......@@ -70,11 +70,11 @@ int SendEvent::task_spawn(int argc, char *argv[])
SendEvent::SendEvent() : ModuleParams(nullptr)
{
if (_param_status_display.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);
}
}
......
......@@ -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_status_display,
(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
)
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment