Skip to content

Commit c90fa32

Browse files
committed
2 parents 23a2306 + 3825ef4 commit c90fa32

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/arduino_homekit_server.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <wolfssl/wolfcrypt/hash.h> //wc_sha512
1515

1616
#include "constants.h"
17-
#include "base64.h"
17+
#include "base64_util.h"
1818
#include "pairing.h"
1919
#include "storage.h"
2020
#include "query_params.h"
@@ -3162,7 +3162,6 @@ void homekit_mdns_init(homekit_server_t *server) {
31623162
}
31633163

31643164
if (homekit_mdns_started) {
3165-
MDNS.close();
31663165
MDNS.begin(name->value.string_value, staIP);
31673166
INFO("MDNS restart: %s, IP: %s", name->value.string_value, staIP.toString().c_str());
31683167
MDNS.announce();

src/arduino_homekit_server.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extern "C" {
1111
#endif
1212

1313
#include "constants.h"
14-
#include "base64.h"
14+
#include "base64_util.h"
1515
#include "crypto.h"
1616
#include "pairing.h"
1717
#include "storage.h"

src/base64.c renamed to src/base64_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "base64.h"
1+
#include "base64_util.h"
22

33
static unsigned char base64_chars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
44

File renamed without changes.

0 commit comments

Comments
 (0)