Fix ESP8266 compile issues in fdrs_gateway_espnow.h

This commit is contained in:
Jeff Lehman 2023-03-01 21:16:50 -06:00
parent 80aad1576d
commit 9b5323e447

View File

@ -18,11 +18,11 @@ esp_now_peer_info_t peerInfo;
const uint8_t broadcast_mac[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
const uint8_t mac_prefix[] = {MAC_PREFIX};
const uint8_t selfAddress[] = {MAC_PREFIX, UNIT_MAC};
uint8_t selfAddress[] = {MAC_PREFIX, UNIT_MAC};
uint8_t incMAC[6];
const uint8_t ESPNOW1[] = {MAC_PREFIX, ESPNOW_NEIGHBOR_1};
const uint8_t ESPNOW2[] = {MAC_PREFIX, ESPNOW_NEIGHBOR_2};
uint8_t ESPNOW1[] = {MAC_PREFIX, ESPNOW_NEIGHBOR_1};
uint8_t ESPNOW2[] = {MAC_PREFIX, ESPNOW_NEIGHBOR_2};
// Set ESP-NOW send and receive callbacks for either ESP8266 or ESP32