| 262 | static struct libusb_device_handle *libusb_teensy_handle = NULL; |
| 263 | |
| 264 | int teensy_open() |
| 265 | { |
| 266 | teensy_close(); |
| 267 | |
| 268 | libusb_teensy_handle = open_usb_device( 0x16C0, 0x0478 ); |
| 269 | |
| 270 | if ( libusb_teensy_handle ) |
| 271 | return 1; |
| 272 | |
| 273 | return 0; |
| 274 | } |
| 275 | |
| 276 | int teensy_write( void *buf, int len, double timeout ) |
| 277 | { |
no test coverage detected
searching dependent graphs…