1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-03 09:18:16 +00:00

other typo found by CI tests

This commit is contained in:
NP v/d Spek 2024-12-05 18:38:36 +01:00
parent 91fca7ac10
commit c359e2ddd3
2 changed files with 2 additions and 1 deletions

View File

@ -292,7 +292,7 @@ esp_err_t ESPNowComponent::add_peer(uint64_t peer, int8_t channel) {
peer_info.encrypt = false;
peer_info.ifidx = WIFI_IF_STA;
memcpy((void *) peer_info.peer_addr, (void *) &peer, 6);
esp_err_t result = esp_now_add_peer(&peer_info);
result = esp_now_add_peer(&peer_info);
}
if (result == ESP_OK) {

View File

@ -6,6 +6,7 @@ globals:
espnow:
auto_add_peer: true
wifi_channel: 1
predefined_peers:
- FF:FF:FF:FF:FF:FF
- mac_address: 11:22:33:44:55:66