| 125 | } |
| 126 | |
| 127 | int read() { |
| 128 | #ifdef FASTLED_TESTING |
| 129 | // Check for injected handler first |
| 130 | if (get_read_handler()) { |
| 131 | return get_read_handler()(); |
| 132 | } |
| 133 | #endif |
| 134 | |
| 135 | // Delegate to platform implementation |
| 136 | return platforms::read(); |
| 137 | } |
| 138 | |
| 139 | bool readStringUntil(sstream& out, char delimiter, char skipChar, fl::optional<u32> timeoutMs) { |
| 140 | // Follows Arduino Serial.readStringUntil() API - blocks until delimiter found |
no outgoing calls
no test coverage detected