Added destructor for BusPwm (fixes #1789)
This commit is contained in:
parent
c0dd98b6d7
commit
05521bfd3a
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
### Development versions after 0.11.1 release
|
### Development versions after 0.11.1 release
|
||||||
|
|
||||||
|
#### Build 2103041
|
||||||
|
|
||||||
|
- Added destructor for BusPwm (fixes #1789)
|
||||||
|
|
||||||
#### Build 2103040
|
#### Build 2103040
|
||||||
|
|
||||||
- Fixed relay mode inverted when upgrading from 0.11.0
|
- Fixed relay mode inverted when upgrading from 0.11.0
|
||||||
|
@ -268,6 +268,10 @@ class BusPwm : public Bus {
|
|||||||
deallocatePins();
|
deallocatePins();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~BusPwm() {
|
||||||
|
cleanup();
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint8_t _pins[5] = {255, 255, 255, 255, 255};
|
uint8_t _pins[5] = {255, 255, 255, 255, 255};
|
||||||
uint8_t _data[5] = {255, 255, 255, 255, 255};
|
uint8_t _data[5] = {255, 255, 255, 255, 255};
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// 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
|
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||||
//#define WLED_USE_MY_CONFIG
|
//#define WLED_USE_MY_CONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user