不韋 呂 / UIT_WS2812B

Dependents:   Demo_WS2812B_SPI

Revision:
1:2d0f84d78ca2
Parent:
0:160ed7a225a4
Child:
2:2d4f2cc38f87
--- a/ws2812B.hpp	Sat Sep 24 05:52:29 2016 +0000
+++ b/ws2812B.hpp	Sat Sep 24 06:24:10 2016 +0000
@@ -31,13 +31,6 @@
     private:
         SPI_TypeDef *mySpi_;
 
-        struct spi123{PinName pin; SPI_TypeDef *spi; };
-#ifdef STM32F401xE
-        static const spi123 f401[];
-#else
-        static const spi123 f446[];
-#endif  // STM32F401xE
-
         void (WS2812B::*fp)(uint8_t);
         void SendByte(uint8_t x) { (this->*fp)(x); }
         void Send3Bytes(uint8_t x0, uint8_t x1, uint8_t x2);