Indicate we run the raw usb proto, not HID

This commit is contained in:
Daniel Lublin 2023-02-15 13:38:32 +01:00
parent fbd51f6996
commit 33f3fca93b
1 changed files with 6 additions and 5 deletions

View File

@ -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);