Skip to content

Commit 253f936

Browse files
authored
Merge pull request #3 from espressif/master
chasing
2 parents d9574d9 + 80a7d60 commit 253f936

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: cores/esp32/esp32-hal-gpio.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "soc/gpio_struct.h"
2525
#include "soc/rtc_io_reg.h"
2626

27-
const int8_t esp32_adc2gpio[20] = {36, -1, -1, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26};
27+
const int8_t esp32_adc2gpio[20] = {36, 37, 38, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26};
2828

2929
const DRAM_ATTR esp32_gpioMux_t esp32_gpioMux[GPIO_PIN_COUNT]={
3030
{0x44, 11, 11, 1},
@@ -64,8 +64,8 @@ const DRAM_ATTR esp32_gpioMux_t esp32_gpioMux[GPIO_PIN_COUNT]={
6464
{0x14, 4, 6, -1},
6565
{0x18, 5, 7, -1},
6666
{0x04, 0, 0, -1},
67-
{0x08, 1, -1, -1},
68-
{0x0c, 2, -1, -1},
67+
{0x08, 1, 1, -1},
68+
{0x0c, 2, 2, -1},
6969
{0x10, 3, 3, -1}
7070
};
7171

Diff for: libraries/HTTPClient/src/HTTPClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ int HTTPClient::handleHeaderResponse()
994994
if((millis() - lastDataTime) > _tcpTimeout) {
995995
return HTTPC_ERROR_READ_TIMEOUT;
996996
}
997-
delay(0);
997+
delay(10);
998998
}
999999
}
10001000

Diff for: libraries/WiFi/src/WiFiSTA.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ void WiFiSTAClass::_smartConfigCallback(uint32_t st, void* result) {
625625
} else if (status == SC_STATUS_LINK) {
626626
wifi_sta_config_t *sta_conf = reinterpret_cast<wifi_sta_config_t *>(result);
627627
log_d("SSID: %s", (char *)(sta_conf->ssid));
628+
sta_conf->bssid_set = 0;
628629
esp_wifi_set_config(WIFI_IF_STA, (wifi_config_t *)sta_conf);
629630
esp_wifi_connect();
630631
_smartConfigDone = true;

0 commit comments

Comments
 (0)