From 12c93a8c36404b0445b2b0819d0f17e465579b7f Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Tue, 29 Oct 2024 18:01:24 +0100 Subject: [PATCH] fix --- esphome/core/helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core/helpers.cpp b/esphome/core/helpers.cpp index e257f4b0e6..dae60a4e1d 100644 --- a/esphome/core/helpers.cpp +++ b/esphome/core/helpers.cpp @@ -693,7 +693,7 @@ void get_mac_address_raw(uint8_t *mac) { // NOLINT(readability-non-const-parame } #elif defined(USE_RP2040) void get_mac_address_raw(uint8_t *mac) { // NOLINT(readability-non-const-parameter) -#if USE_WIFI +#ifdef USE_WIFI WiFi.macAddress(mac); #endif }