| 109 | } |
| 110 | |
| 111 | int available() { |
| 112 | #ifdef FASTLED_TESTING |
| 113 | // Check for injected handler first |
| 114 | if (get_available_handler()) { |
| 115 | return get_available_handler()(); |
| 116 | } |
| 117 | #endif |
| 118 | |
| 119 | // Delegate to platform implementation |
| 120 | return platforms::available(); |
| 121 | } |
| 122 | |
| 123 | int peek() { |
| 124 | return platforms::peek(); |
no outgoing calls
no test coverage detected