Skip to content

Commit 446d354

Browse files
committed
Set soft MAC address in all cases
1 parent b3259f9 commit 446d354

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Tx_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,8 @@ void setup()
392392
config.SetStorageProvider(&eeprom);
393393
config.Load();
394394

395+
SetSoftMACAddress();
396+
395397
devicesInit(ui_devices, ARRAY_SIZE(ui_devices));
396398

397399
#ifdef DEBUG_ELRS_WIFI
@@ -412,8 +414,6 @@ void setup()
412414
}
413415
else
414416
{
415-
SetSoftMACAddress();
416-
417417
if (esp_now_init() != 0)
418418
{
419419
DBGLN("Error initializing ESP-NOW");

0 commit comments

Comments
 (0)