| 206 | } |
| 207 | |
| 208 | bool flush(u32 timeoutMs) { |
| 209 | #ifdef FASTLED_TESTING |
| 210 | if (get_flush_handler()) { |
| 211 | return get_flush_handler()(timeoutMs); |
| 212 | } |
| 213 | #endif |
| 214 | return platforms::flush(timeoutMs); |
| 215 | } |
| 216 | |
| 217 | size_t write_bytes(const u8* buffer, size_t size) { |
| 218 | if (!buffer || size == 0) return 0; |
no outgoing calls
no test coverage detected