Skip to content

Commit aa48b51

Browse files
committed
set default is_wifi to true for ESP32
1 parent bbb6033 commit aa48b51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SnapClient.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,11 @@ class SnapClient {
171171
SnapTimeSync *p_time_sync = &time_sync_default;
172172
IPAddress server_ip;
173173
int server_port = CONFIG_SNAPCAST_SERVER_PORT;
174+
#ifdef ESP32
175+
bool is_wifi = true;
176+
#else
174177
bool is_wifi = false;
178+
#endif
175179

176180
void setupMDNS() {
177181
#if CONFIG_SNAPCLIENT_USE_MDNS && defined(ESP32)

0 commit comments

Comments
 (0)