digispark: fix #288 by using pkg-config to locate libusb-compat includes

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-01-30 17:52:04 +01:00
parent 4387a0b2f7
commit b163b5f2db
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
package digispark
//#cgo LDFLAGS: -lusb
//#cgo pkg-config: libusb
//#include "littleWire.h"
//#include "littleWire_servo.h"
//typedef usb_dev_handle littleWire;