mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Activate some clang-tidy checks (#1884)
This commit is contained in:
@@ -103,7 +103,10 @@ class DFPlayer : public uart::UARTDevice, public Component {
|
||||
};
|
||||
|
||||
#define DFPLAYER_SIMPLE_ACTION(ACTION_CLASS, ACTION_METHOD) \
|
||||
template<typename... Ts> class ACTION_CLASS : public Action<Ts...>, public Parented<DFPlayer> { \
|
||||
template<typename... Ts> \
|
||||
class ACTION_CLASS : /* NOLINT */ \
|
||||
public Action<Ts...>, \
|
||||
public Parented<DFPlayer> { \
|
||||
void play(Ts... x) override { this->parent_->ACTION_METHOD(); } \
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user