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

This commit is contained in:
Thomas Rupprecht authored and GitHub committed 2025-12-16 19:43:18 -05:00
1 parent 93621d85b0
commit 9727c7135c
6 files changed
+12 -23

No files matched your search

+2 -5
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