rc_update: use snake_case for namespace name

This commit is contained in:
Julian Oes
2021-11-09 16:05:25 +01:00
committed by Matthias Grob
parent 6e8ccf6a45
commit 14eb656a59
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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);
} }
+2 -2
View File
@@ -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 */