Skip to content

Commit

Permalink
fix: init _transCount in Apa102
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasssadar committed Nov 25, 2024
1 parent 4c21e75 commit 088fcb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SmartLeds.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 088fcb9

Please sign in to comment.