Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Silverman <shawn@pobox.com>2021-10-28 06:31:40 +0300
committerShawn Silverman <shawn@pobox.com>2021-10-28 06:32:15 +0300
commit19e1bcea1f7fcefd2b579126fa248f2d2bf9cfe6 (patch)
treec03aed195dafd788db34985398e60ecdb7f883e8
parent5cc17b2be88982eb34b1998de22b83fee56d4f07 (diff)
Fix name Teesy4HardwareSPIOutput->Teensy4HardwareSPIOutput
-rw-r--r--src/fastspi.h6
-rw-r--r--src/platforms/arm/mxrt1062/fastspi_arm_mxrt1062.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/fastspi.h b/src/fastspi.h
index ae084f84..3eabce13 100644
--- a/src/fastspi.h
+++ b/src/fastspi.h
@@ -81,13 +81,13 @@ class SPIOutput<SPI2_DATA, SPI_CLOCK, SPI_SPEED> : public ARMHardwareSPIOutput<S
#elif defined(FASTLED_TEENSY4) && defined(ARM_HARDWARE_SPI)
template<uint32_t SPI_SPEED>
-class SPIOutput<SPI_DATA, SPI_CLOCK, SPI_SPEED> : public Teesy4HardwareSPIOutput<SPI_DATA, SPI_CLOCK, SPI_SPEED, SPI, 0> {};
+class SPIOutput<SPI_DATA, SPI_CLOCK, SPI_SPEED> : public Teensy4HardwareSPIOutput<SPI_DATA, SPI_CLOCK, SPI_SPEED, SPI, 0> {};
template<uint32_t SPI_SPEED>
-class SPIOutput<SPI1_DATA, SPI_CLOCK, SPI_SPEED> : public Teesy4HardwareSPIOutput<SPI1_DATA, SPI1_CLOCK, SPI_SPEED, SPI1, 1> {};
+class SPIOutput<SPI1_DATA, SPI_CLOCK, SPI_SPEED> : public Teensy4HardwareSPIOutput<SPI1_DATA, SPI1_CLOCK, SPI_SPEED, SPI1, 1> {};
template<uint32_t SPI_SPEED>
-class SPIOutput<SPI2_DATA, SPI2_CLOCK, SPI_SPEED> : public Teesy4HardwareSPIOutput<SPI2_DATA, SPI2_CLOCK, SPI_SPEED, SPI2, 2> {};
+class SPIOutput<SPI2_DATA, SPI2_CLOCK, SPI_SPEED> : public Teensy4HardwareSPIOutput<SPI2_DATA, SPI2_CLOCK, SPI_SPEED, SPI2, 2> {};
#elif defined(FASTLED_TEENSYLC) && defined(ARM_HARDWARE_SPI)
diff --git a/src/platforms/arm/mxrt1062/fastspi_arm_mxrt1062.h b/src/platforms/arm/mxrt1062/fastspi_arm_mxrt1062.h
index 068c7be1..6a9f514d 100644
--- a/src/platforms/arm/mxrt1062/fastspi_arm_mxrt1062.h
+++ b/src/platforms/arm/mxrt1062/fastspi_arm_mxrt1062.h
@@ -7,7 +7,7 @@ FASTLED_NAMESPACE_BEGIN
#include <SPI.h>
template <uint8_t _DATA_PIN, uint8_t _CLOCK_PIN, uint32_t _SPI_CLOCK_RATE, SPIClass & _SPIObject, int _SPI_INDEX>
-class Teesy4HardwareSPIOutput {
+class Teensy4HardwareSPIOutput {
Selectable *m_pSelect;
uint32_t m_bitCount;
uint32_t m_bitData;
@@ -23,8 +23,8 @@ class Teesy4HardwareSPIOutput {
}
public:
- Teesy4HardwareSPIOutput() { m_pSelect = NULL; m_bitCount = 0;}
- Teesy4HardwareSPIOutput(Selectable *pSelect) { m_pSelect = pSelect; m_bitCount = 0;}
+ Teensy4HardwareSPIOutput() { m_pSelect = NULL; m_bitCount = 0;}
+ Teensy4HardwareSPIOutput(Selectable *pSelect) { m_pSelect = pSelect; m_bitCount = 0;}
// set the object representing the selectable -- ignore for now
void setSelect(Selectable *pSelect) { /* TODO */ }