| 38 | } |
| 39 | |
| 40 | int16_t AP_Scripting_SerialAccess::read(void) |
| 41 | { |
| 42 | uint8_t c; |
| 43 | if (read(&c, 1) != 1) { |
| 44 | return -1; |
| 45 | } |
| 46 | return c; |
| 47 | } |
| 48 | |
| 49 | ssize_t AP_Scripting_SerialAccess::read(uint8_t* buffer, uint16_t count) |
| 50 | { |
no outgoing calls
no test coverage detected