Skip to content

Commit

Permalink
Add device name to elrs.udp MDNS record
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed Oct 10, 2023
1 parent 9565ecb commit 458a186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/WIFI/devWIFI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,7 @@ static void startMDNS()

#ifdef HAS_WIFI_JOYSTICK
MDNS.addService("elrs", "udp", JOYSTICK_PORT);
MDNS.addServiceTxt("elrs", "udp", "device", (const char *)device_name);
MDNS.addServiceTxt("elrs", "udp", "version", String(JOYSTICK_VERSION).c_str());
#endif
}
Expand Down

0 comments on commit 458a186

Please sign in to comment.