| 58 | |
| 59 | protected: |
| 60 | virtual void showPixels(PixelController<RGB_ORDER> & pixels) FL_NOEXCEPT { |
| 61 | mWait.wait(); |
| 62 | if(!showRGBInternal(pixels)) { |
| 63 | sei(); delayMicroseconds(WAIT_TIME); cli(); |
| 64 | showRGBInternal(pixels); |
| 65 | } |
| 66 | mWait.mark(); |
| 67 | } |
| 68 | |
| 69 | template<int BITS> __attribute__ ((always_inline)) inline static void writeBits(FASTLED_REGISTER u32 & next_mark, FASTLED_REGISTER data_ptr_t port, FASTLED_REGISTER data_t hi, FASTLED_REGISTER data_t lo, FASTLED_REGISTER u8 & b) FL_NOEXCEPT { |
| 70 | for(FASTLED_REGISTER u32 i = BITS-1; i > 0; --i) { |
nothing calls this directly
no test coverage detected