[clang-tidy] Concatenate nested namespaces (3/7: components i-m) (#16297)

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2026-05-07 19:00:17 -04:00
1 parent 56ef357162
commit cbe192df49
250 files changed
+508 -1013

No files matched your search

@@ -3,8 +3,7 @@
#include "esphome/components/i2c/i2c.h"
#include "esphome/core/component.h"
namespace esphome {
namespace m5stack_8angle {
namespace esphome::m5stack_8angle {
static const uint8_t M5STACK_8ANGLE_REGISTER_ANALOG_INPUT_12B = 0x00;
static const uint8_t M5STACK_8ANGLE_REGISTER_ANALOG_INPUT_8B = 0x10;
@@ -29,5 +28,4 @@ class M5Stack8AngleComponent : public i2c::I2CDevice, public Component {
uint8_t fw_version_;
};
} // namespace m5stack_8angle
} // namespace esphome
} // namespace esphome::m5stack_8angle