Added destructor for BusPwm (fixes #1789)

pull/1683/head^2
cschwinne 2021-03-04 22:17:25 +01:00
rodzic c0dd98b6d7
commit 05521bfd3a
3 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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};

Wyświetl plik

@ -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