You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ You are all set if you have enabled `Editor: Detect Indentation` in VS Code.
14
14
15
15
#### Blocks
16
16
17
-
Whether the opening bracket of e.g. an `if` block is in the same line as the condition or in a separate line is up to your discretion. If there is only one statement, leaving out block braches is acceptable.
17
+
Whether the opening bracket of e.g. an `if` block is in the same line as the condition or in a separate line is up to your discretion. If there is only one statement, leaving out block braces is acceptable.
Copy file name to clipboardExpand all lines: platformio.ini
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -332,7 +332,7 @@ build_flagsV4 = -g
332
332
-DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE
333
333
-D CONFIG_ASYNC_TCP_USE_WDT=0
334
334
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
335
-
; -DARDUINO_USB_CDC_ON_BOOT=0 ;; mandatory for "classic ESP32" when builing with arduino-esp32 >=2.0.3
335
+
; -DARDUINO_USB_CDC_ON_BOOT=0 ;; mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
336
336
;;; V4.4.x libraries (without LOROL_LITTLEFS; with newer NeoPixelBus)
337
337
lib_depsV4 =
338
338
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0 ;; WLEDMM this must be first in the list, otherwise Aircoookie/ESPAsyncWebServer pulls in an older version of AsyncTCP !!
@@ -984,15 +984,15 @@ lib_deps_M =
984
984
lib_deps_V4_M =
985
985
;https://github.com/blazoncek/OneWire.git ; includes bugfixes for inconsistent readings
986
986
paulstoffregen/OneWire@ ^2.3.7 ; used for USERMOD_DALLASTEMPERATURE -> need newer release with bugfixes for -S3; still requires TEMPERATURE_PIN < 46
987
-
olikraus/U8g2@ ^2.34.5 ; used for USERMOD_FOUR_LINE_DISPLAY -> need newer version with bugfixes for arduino-esp32 v2.0.4 (Wire inititialization)
987
+
olikraus/U8g2@ ^2.34.5 ; used for USERMOD_FOUR_LINE_DISPLAY -> need newer version with bugfixes for arduino-esp32 v2.0.4 (Wire initialization)
988
988
${common_mm.animartrix_lib_deps}
989
989
990
990
build_flags_XL =
991
991
-D USERMOD_WEATHER ; WLEDMM usermod
992
992
-D USERMOD_MPU6050_IMU ; gyro/accelero for USERMOD_GAMES (ONLY WORKS IF USERMOD_FOUR_LINE_DISPLAY NOT INCLUDED - I2C SHARING BUG)
993
993
-D USERMOD_GAMES ; WLEDMM usermod
994
994
-D USERMOD_BATTERY ;; enable Battery usermod
995
-
-D USERMOD_BATTERY_USE_LIPO ;; use new "decharging curve" for LiPo cells
995
+
-D USERMOD_BATTERY_USE_LIPO ;; use new "discharging curve" for LiPo cells
996
996
-D USERMOD_BH1750
997
997
-D USERMOD_ANIMATED_STAIRCASE
998
998
-D USERMOD_RTC ;; experimental
@@ -1124,7 +1124,7 @@ build_flags =
1124
1124
[Speed_Flags]
1125
1125
build_flags =
1126
1126
-O2 ;; optimize for performance instead of size
1127
-
;-ffast-math ;; gives a few (2-5) percent sppedup on ESP32-S3, but causes slight slowdown on classic ESP32
1127
+
;-ffast-math ;; gives a few (2-5) percent speedup on ESP32-S3, but causes slight slowdown on classic ESP32
1128
1128
-mtarget-align -free -fipa-pta ;; these are very useful, too
Copy file name to clipboardExpand all lines: usermods/Battery/usermod_v2_Battery.h
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ class UsermodBattery : public Usermod
118
118
{
119
119
#ifdef ARDUINO_ARCH_ESP32
120
120
if ((batteryPin <0) || !pinManager.isPinAnalog(batteryPin)) return(-1.0f); // WLEDMM avoid reading from invalid pin
121
-
// use calibrated millivolts analogread on esp32 (150 mV ~ 2450 mV default attentuation) and divide by 1000 to get from milivolts to volts and multiply by voltage multiplier and apply calibration value
121
+
// use calibrated millivolts analogread on esp32 (150 mV ~ 2450 mV default attenuation) and divide by 1000 to get from milliVolts to volts and multiply by voltage multiplier and apply calibration value
// use analog read on esp8266 ( 0V ~ 1V no attenuation options) and divide by ADC precision 1023 and multiply by voltage multiplier and apply calibration value
@@ -216,7 +216,7 @@ class UsermodBattery : public Usermod
0 commit comments