diff --git a/src/SmartLeds.h b/src/SmartLeds.h index f8cf3ce..d4c9571 100644 --- a/src/SmartLeds.h +++ b/src/SmartLeds.h @@ -231,6 +231,7 @@ class Apa102 { : _count(count) , _firstBuffer(new ApaRgb[count]) , _secondBuffer(doubleBuffer ? new ApaRgb[count] : nullptr) + , _transCount(0) , _initFrame(0) { spi_bus_config_t buscfg; memset(&buscfg, 0, sizeof(buscfg));