mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
[safe_mode] Remove unused capture (#7826)
This commit is contained in:
parent
6c548a1596
commit
46a435f5f2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ namespace safe_mode {
|
||||||
class SafeModeTrigger : public Trigger<> {
|
class SafeModeTrigger : public Trigger<> {
|
||||||
public:
|
public:
|
||||||
explicit SafeModeTrigger(SafeModeComponent *parent) {
|
explicit SafeModeTrigger(SafeModeComponent *parent) {
|
||||||
parent->add_on_safe_mode_callback([this, parent]() { trigger(); });
|
parent->add_on_safe_mode_callback([this]() { trigger(); });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue