[openthread] channel range, fix typo, use C++17 nested namespace syntax (#12422)

This commit is contained in:
Thomas Rupprecht
2025-12-17 01:43:18 +01:00
committed by GitHub
parent 93621d85b0
commit 9727c7135c
6 changed files with 12 additions and 23 deletions

View File

@@ -21,8 +21,7 @@
static const char *const TAG = "openthread";
namespace esphome {
namespace openthread {
namespace esphome::openthread {
OpenThreadComponent *global_openthread_component = // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
nullptr; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
@@ -275,7 +274,5 @@ const char *OpenThreadComponent::get_use_address() const { return this->use_addr
void OpenThreadComponent::set_use_address(const char *use_address) { this->use_address_ = use_address; }
} // namespace openthread
} // namespace esphome
} // namespace esphome::openthread
#endif