mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 03:21:35 +08:00
rc_update: use snake_case for namespace name
This commit is contained in:
committed by
Matthias Grob
parent
6e8ccf6a45
commit
14eb656a59
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
using namespace time_literals;
|
using namespace time_literals;
|
||||||
|
|
||||||
namespace RCUpdate
|
namespace rc_update
|
||||||
{
|
{
|
||||||
|
|
||||||
// TODO: find a better home for this
|
// TODO: find a better home for this
|
||||||
@@ -803,9 +803,9 @@ To reduce control latency, the module is scheduled on input_rc publications.
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace RCUpdate
|
} // namespace rc_update
|
||||||
|
|
||||||
extern "C" __EXPORT int rc_update_main(int argc, char *argv[])
|
extern "C" __EXPORT int rc_update_main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
return RCUpdate::RCUpdate::main(argc, argv);
|
return rc_update::RCUpdate::main(argc, argv);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
using namespace time_literals;
|
using namespace time_literals;
|
||||||
|
|
||||||
namespace RCUpdate
|
namespace rc_update
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -239,4 +239,4 @@ private:
|
|||||||
(ParamInt<px4::params::RC_CHAN_CNT>) _param_rc_chan_cnt
|
(ParamInt<px4::params::RC_CHAN_CNT>) _param_rc_chan_cnt
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
} /* namespace RCUpdate */
|
} /* namespace rc_update */
|
||||||
|
|||||||
Reference in New Issue
Block a user