diff options
Diffstat (limited to 'Bootloaders/HID')
-rw-r--r-- | Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c b/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c index 200f40682..6063e1981 100644 --- a/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c +++ b/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c @@ -395,17 +395,6 @@ int write_usb_device(HANDLE h, void *buf, int len, int timeout) return 1; } -void print_win32_err(void) -{ - char buf[256]; - DWORD err; - - err = GetLastError(); - FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, err, - 0, buf, sizeof(buf), NULL); - printf("err %ld: %s\n", err, buf); -} - static HANDLE win32_teensy_handle = NULL; int teensy_open(void) |