[clang-tidy] Concatenate nested namespaces (3/7: components i-m) (#16297)
This commit is contained in:
1 parent
56ef357162
commit
cbe192df49
250 files changed
+508
-1013
No files matched your search
@@ -1,7 +1,6 @@
|
||||
#include "m5stack_8angle_binary_sensor.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace m5stack_8angle {
|
||||
namespace esphome::m5stack_8angle {
|
||||
|
||||
void M5Stack8AngleSwitchBinarySensor::update() {
|
||||
int8_t out = this->parent_->read_switch();
|
||||
@@ -13,5 +12,4 @@ void M5Stack8AngleSwitchBinarySensor::update() {
|
||||
this->status_clear_warning();
|
||||
}
|
||||
|
||||
} // namespace m5stack_8angle
|
||||
} // namespace esphome
|
||||
} // namespace esphome::m5stack_8angle
|
||||
@@ -5,8 +5,7 @@
|
||||
|
||||
#include "../m5stack_8angle.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace m5stack_8angle {
|
||||
namespace esphome::m5stack_8angle {
|
||||
|
||||
class M5Stack8AngleSwitchBinarySensor : public binary_sensor::BinarySensor,
|
||||
public PollingComponent,
|
||||
@@ -15,5 +14,4 @@ class M5Stack8AngleSwitchBinarySensor : public binary_sensor::BinarySensor,
|
||||
void update() override;
|
||||
};
|
||||
|
||||
} // namespace m5stack_8angle
|
||||
} // namespace esphome
|
||||
} // namespace esphome::m5stack_8angle
|
||||
Reference in new issue
Block a user