From 2b5b3653760c53df44c4580161987468e13396fb Mon Sep 17 00:00:00 2001 From: David Crocker Date: Wed, 27 Mar 2024 12:03:15 +0000 Subject: [PATCH] Fixed build errors caused by method renaming --- src/LedStrips/NeoPixelLedStrip.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/LedStrips/NeoPixelLedStrip.cpp b/src/LedStrips/NeoPixelLedStrip.cpp index 64963ed28e..c6461cba14 100644 --- a/src/LedStrips/NeoPixelLedStrip.cpp +++ b/src/LedStrips/NeoPixelLedStrip.cpp @@ -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; } @@ -101,7 +101,7 @@ GCodeResult NeoPixelLedStrip::HandleM150(GCodeBuffer &gb, const StringRef &reply #if SUPPORT_DMA_NEOPIXEL if (UsesDma()) { - SpiSendNeoPixelData(params); + SpiSendData(params); } else #endif @@ -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;