Skip to content

Commit

Permalink
Changed some usermods to be "disabled" by default
Browse files Browse the repository at this point in the history
Some usermods may cause unexpected behaviour if not configured properly.
* Battery: can cause unexpected shutdowns if no voltage measurement circuit connected
* RTC: can cause unexpected time &date changes if no RTC connected to I2C
* mcu temp: can cause hight CPU load, and may cause instabilities due to use of an "unsupported" API from espressif
  • Loading branch information
softhack007 authored Dec 10, 2023
1 parent 782628b commit 90b52b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wled00/usermods_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void registerUsermods()
*/
//usermods.add(new MyExampleUsermod());
#ifdef USERMOD_BATTERY
usermods.add(new UsermodBattery("Battery", true));
usermods.add(new UsermodBattery("Battery", false)); // WLEDMM
#endif

#ifdef USERMOD_DALLASTEMPERATURE
Expand Down Expand Up @@ -293,7 +293,7 @@ void registerUsermods()
#endif

#ifdef USERMOD_RTC
usermods.add(new RTCUsermod("RTC", true));
usermods.add(new RTCUsermod("RTC", false)); //WLEDMM
#endif

#ifdef USERMOD_ELEKSTUBE_IPS
Expand Down Expand Up @@ -385,7 +385,7 @@ void registerUsermods()
#endif

#ifdef USERMOD_MCUTEMP
usermods.add(new mcuTemp("MCUTemp", true));
usermods.add(new mcuTemp("MCUTemp", false));
#endif

//#ifdef USERMOD_INTERNAL_TEMPERATURE
Expand Down

0 comments on commit 90b52b3

Please sign in to comment.