Skip to content

Commit

Permalink
Fixed build errors caused by method renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Mar 27, 2024
1 parent b8234f3 commit 2b5b365
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LedStrips/NeoPixelLedStrip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ GCodeResult NeoPixelLedStrip::HandleM150(CanMessageGenericParser& parser, const
#if SUPPORT_DMA_NEOPIXEL
if (UsesDma())
{
SpiSendNeoPixelData(params);
SpiSendData(params);
}
else
#endif
{
BitBangNeoPixelData(params);
BitBangData(params);
}
return GCodeResult::ok;
}
Expand Down Expand Up @@ -101,7 +101,7 @@ GCodeResult NeoPixelLedStrip::HandleM150(GCodeBuffer &gb, const StringRef &reply
#if SUPPORT_DMA_NEOPIXEL
if (UsesDma())
{
SpiSendNeoPixelData(params);
SpiSendData(params);
}
else
#endif
Expand Down Expand Up @@ -143,7 +143,7 @@ static void EncodeNeoPixelByte(uint8_t *p, uint8_t val) noexcept
}

// Send data to NeoPixel LEDs by DMA to SPI
GCodeResult NeoPixelLedStrip::SpiSendNeoPixelData(const LedParams& params) noexcept
GCodeResult NeoPixelLedStrip::SpiSendData(const LedParams& params) noexcept
{
const unsigned int bytesPerLed = (isRGBW) ? 16 : 12;
unsigned int numLeds = params.numLeds;
Expand Down

0 comments on commit 2b5b365

Please sign in to comment.