From 14eb656a59ece9055c13dbd7f07e8f339f00d213 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 13 Apr 2021 14:21:41 +0200 Subject: [PATCH] rc_update: use snake_case for namespace name --- src/modules/rc_update/rc_update.cpp | 6 +++--- src/modules/rc_update/rc_update.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/rc_update/rc_update.cpp b/src/modules/rc_update/rc_update.cpp index 6c1bc1e389..1ecaeff77c 100644 --- a/src/modules/rc_update/rc_update.cpp +++ b/src/modules/rc_update/rc_update.cpp @@ -41,7 +41,7 @@ using namespace time_literals; -namespace RCUpdate +namespace rc_update { // 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; } -} // namespace RCUpdate +} // namespace rc_update extern "C" __EXPORT int rc_update_main(int argc, char *argv[]) { - return RCUpdate::RCUpdate::main(argc, argv); + return rc_update::RCUpdate::main(argc, argv); } diff --git a/src/modules/rc_update/rc_update.h b/src/modules/rc_update/rc_update.h index 4b4582b206..95426d705c 100644 --- a/src/modules/rc_update/rc_update.h +++ b/src/modules/rc_update/rc_update.h @@ -63,7 +63,7 @@ using namespace time_literals; -namespace RCUpdate +namespace rc_update { /** @@ -239,4 +239,4 @@ private: (ParamInt) _param_rc_chan_cnt ) }; -} /* namespace RCUpdate */ +} /* namespace rc_update */