Skip to content

Commit

Permalink
Uninitialised _data bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek committed Feb 9, 2025
1 parent c43d09c commit ed91c54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wled00/bus_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ BusDigital::BusDigital(const BusConfig &bc, uint8_t nr)
, _colorOrder(bc.colorOrder)
, _milliAmpsPerLed(bc.milliAmpsPerLed)
, _milliAmpsMax(bc.milliAmpsMax)
, _data(nullptr)
{
if (!isDigital(bc.type) || !bc.count) return;
if (!PinManager::allocatePin(bc.pins[0], true, PinOwner::BusDigital)) return;
Expand Down

0 comments on commit ed91c54

Please sign in to comment.