Restore wlan power

This commit is contained in:
Christoph Stoiber committed 2026-09-18 13:05:00 +02:00
1 parent 3e995faa8c
commit 502c1d6ab8
2 files changed
+1 -5

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ bool deepSearchScale() {
// are not reliable in detecting a missing chip
// these tests work even without pull-up resistor
const uint32_t timeout = 1000; // 1 second timeout for waiting for the chip to respond
const int samples = 10;
const int samples = 10;
pinMode(LOADCELL_DOUT_PIN, INPUT);
pinMode(LOADCELL_SCK_PIN, OUTPUT);
-4
View File
@@ -32,11 +32,7 @@ void wifiSettings() {
// Maximale Sendeleistung. 17dBm war ein Kompromiss gegen Hitzeprobleme,
// führte bei marginalem Empfang aber zu AP-seitigen Auth-/Assoc-Kicks
// (reason=2/4/9/202). Bei Verdacht auf Überhitzung wieder auf 17dBm zurück. ESP32-S3 hat Proleme mit 19,5dBm, daher hier 8,5dBm.
#if CONFIG_IDF_TARGET_ESP32S3
WiFi.setTxPower(WIFI_POWER_8_5dBm);
#else
WiFi.setTxPower(WIFI_POWER_19_5dBm);
#endif
// Hinweis: Kein esp_wifi_set_rssi_threshold() mehr.
// Der vorherige Wert (-80 dBm) löste in Single-AP-Heimnetzen häufige