From 4d043b76c3e152e6a7aa98af63b0fd752cf0daac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Wed, 12 Dec 2018 12:40:05 +0000 Subject: [PATCH] Fix ConfigurationManager_StoreConfigurationBlock for ESP32 (#1091) --- .../ESP32_DevKitC/nanoCLR/targetHAL_ConfigurationManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/FreeRTOS/ESP32_DevKitC/nanoCLR/targetHAL_ConfigurationManager.cpp b/targets/FreeRTOS/ESP32_DevKitC/nanoCLR/targetHAL_ConfigurationManager.cpp index 5172dc4e3f..037595be6d 100644 --- a/targets/FreeRTOS/ESP32_DevKitC/nanoCLR/targetHAL_ConfigurationManager.cpp +++ b/targets/FreeRTOS/ESP32_DevKitC/nanoCLR/targetHAL_ConfigurationManager.cpp @@ -341,7 +341,7 @@ bool ConfigurationManager_StoreConfigurationBlock(void* configurationBlock, Devi while( pConfig < (pConfig + blockSize) ) { // Network interface block ? - if ( *pConfig == 'C') + if ( *pConfig == 'N') { HAL_Configuration_NetworkInterface * pNetConfig = (HAL_Configuration_NetworkInterface*)pConfig; pConfig += sizeof(HAL_Configuration_NetworkInterface);