diff --git a/CHANGELOG.md b/CHANGELOG.md index b90934d89..ef77e9e4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ### Development versions after 0.11.1 release +#### Build 2103041 + +- Added destructor for BusPwm (fixes #1789) + #### Build 2103040 - Fixed relay mode inverted when upgrading from 0.11.0 diff --git a/wled00/bus_manager.h b/wled00/bus_manager.h index 519651507..bc04452df 100644 --- a/wled00/bus_manager.h +++ b/wled00/bus_manager.h @@ -268,6 +268,10 @@ class BusPwm : public Bus { deallocatePins(); } + ~BusPwm() { + cleanup(); + } + private: uint8_t _pins[5] = {255, 255, 255, 255, 255}; uint8_t _data[5] = {255, 255, 255, 255, 255}; diff --git a/wled00/wled.h b/wled00/wled.h index 2a239b9c0..e9a779a4b 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2103040 +#define VERSION 2103041 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG