Lolin C3 mini v1.0 has standard led.

This commit is contained in:
MichaelDvP
2022-10-13 14:07:52 +02:00
parent 2c7eeeca7b
commit 9be13eb0b9
2 changed files with 29 additions and 15 deletions

View File

@@ -75,7 +75,7 @@ void NetworkSettingsService::manageSTA() {
esp_wifi_set_max_tx_power(networkSettings.tx_power * 4); // set power after wifi is startet for C3
});
#ifdef BOARD_C3_MINI_V1
// not sure if we need this special value for c3_min_v1.0
// v1 needs this value, see https://github.com/emsesp/EMS-ESP32/pull/620#discussion_r993173979
WiFi.setTxPower(WIFI_POWER_8_5dBm); // https://www.wemos.cc/en/latest/c3/c3_mini_1_0_0.html#about-wifi
#endif
}