mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 00:41:44 +01:00
remove std:move
This commit is contained in:
parent
c32e8fe9e1
commit
167dcef1e6
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ void ESPNowComponent::runner() {
|
|||
|
||||
if (!esp_now_is_peer_exist(mac)) {
|
||||
if (!this->auto_add_peer_) {
|
||||
this->defer([this, packet]() { this->on_new_peer_(std::move(packet)); });
|
||||
this->defer([this, packet]() { this->on_new_peer_(packet); });
|
||||
continue;
|
||||
} else {
|
||||
this->add_peer(packet->peer);
|
||||
|
|
Loading…
Reference in a new issue