| 35 | virtual u16 getMaxRefreshRate() const { return 400; } |
| 36 | |
| 37 | virtual void showPixels(PixelController<RGB_ORDER> & pixels) FL_NOEXCEPT { |
| 38 | mWait.wait(); |
| 39 | cli(); |
| 40 | u32 clocks = showRGBInternal(pixels); |
| 41 | if(!clocks) { |
| 42 | sei(); delayMicroseconds(WAIT_TIME); cli(); |
| 43 | clocks = showRGBInternal(pixels); |
| 44 | } |
| 45 | long microsTaken = CLKS_TO_MICROS(clocks * ((T1 + T2 + T3) * 24)); |
| 46 | MS_COUNTER += (microsTaken / 1000); |
| 47 | sei(); |
| 48 | mWait.mark(); |
| 49 | } |
| 50 | |
| 51 | // This method is made static to force making register Y available to use for data on AVR - if the method is non-static, then |
| 52 | // gcc will use register Y for the this pointer. |
nothing calls this directly
no test coverage detected