mirror of https://github.com/YosysHQ/icestorm.git
Indicate we run the raw usb proto, not HID
This commit is contained in:
parent
fbd51f6996
commit
33f3fca93b
|
|
@ -286,14 +286,15 @@ void rpi_pico_interface_init() {
|
|||
exit(-1);
|
||||
}
|
||||
|
||||
if (libusb_claim_interface (devhaccess, 0) != 0) {
|
||||
perror ("libusb_claim_interface error");
|
||||
usb_exit(-1);
|
||||
}
|
||||
if (libusb_claim_interface (devhaccess, 0) != 0) {
|
||||
perror ("libusb_claim_interface error");
|
||||
usb_exit(-1);
|
||||
}
|
||||
|
||||
printf("This iceprog has raw power!\n");
|
||||
|
||||
led_set(true);
|
||||
|
||||
|
||||
pin_set_direction(PIN_POWER, true);
|
||||
pin_set_direction(PIN_SCK, true);
|
||||
pin_set_direction(PIN_MOSI, true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue