Skip to content

Commit

Permalink
Fix ESP32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dzungpv committed Jul 16, 2024
1 parent 7ec904d commit eb27777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3592,7 +3592,7 @@ void factoryReset()

String getWifiBSSID()
{
uint8* mac = WiFi.BSSID();
byte* mac = WiFi.BSSID();
// Wifi BSSID
char wifi_bssid[18];
snprintf(wifi_bssid, 18, "%02X:%02X:%02X:%02X:%02X:%02X", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
Expand Down

0 comments on commit eb27777

Please sign in to comment.