Skip to content

Commit 05521bf

Browse files
committed
Added destructor for BusPwm (fixes wled#1789)
1 parent c0dd98b commit 05521bf

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
### Development versions after 0.11.1 release
44

5+
#### Build 2103041
6+
7+
- Added destructor for BusPwm (fixes #1789)
8+
59
#### Build 2103040
610

711
- Fixed relay mode inverted when upgrading from 0.11.0

wled00/bus_manager.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ class BusPwm : public Bus {
268268
deallocatePins();
269269
}
270270

271+
~BusPwm() {
272+
cleanup();
273+
}
274+
271275
private:
272276
uint8_t _pins[5] = {255, 255, 255, 255, 255};
273277
uint8_t _data[5] = {255, 255, 255, 255, 255};

wled00/wled.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
// version code in format yymmddb (b = daily build)
11-
#define VERSION 2103040
11+
#define VERSION 2103041
1212

1313
//uncomment this if you have a "my_config.h" file you'd like to use
1414
//#define WLED_USE_MY_CONFIG

0 commit comments

Comments
 (0)