From c173706d22c611a9260df4a3532fa780cf219205 Mon Sep 17 00:00:00 2001 From: Alastair D'Silva Date: Tue, 10 May 2016 22:04:07 +1000 Subject: [PATCH] Fix typo --- esp-link/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-link/config.c b/esp-link/config.c index d1d5798..bbe28f1 100644 --- a/esp-link/config.c +++ b/esp-link/config.c @@ -134,7 +134,7 @@ bool ICACHE_FLASH_ATTR configRestore(void) { char hostname[16]; os_strcpy(hostname, "esp-link-"); os_strcat(hostname, chipIdStr); - os_memcpy(&flashConfig.hostname, hostname, os_strlen(hostname));u + os_memcpy(&flashConfig.hostname, hostname, os_strlen(hostname)); #endif os_memcpy(&flashConfig.mqtt_clientid, &flashConfig.hostname, os_strlen(flashConfig.hostname)); os_memcpy(&flashConfig.mqtt_status_topic, &flashConfig.hostname, os_strlen(flashConfig.hostname));