Commit cc494260 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

lm4flash.c: Add flasher error enumeration

This error code captures higher-level errors than what libusb returns
alone. It also has a dedicated code for libusb errors.
parent bb124ac4
......@@ -482,6 +482,14 @@ static int write_firmware(libusb_device_handle *handle, FILE *f)
return 0;
enum flasher_error {
int main(int argc, char *argv[])
libusb_context *ctx = NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment