/* flasher for HM-CFG-USB
*
- * Copyright (c) 2013-15 Michael Gernoth <michael@gernoth.net>
+ * Copyright (c) 2013-20 Michael Gernoth <michael@gernoth.net>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
struct recv_data rdata;
uint16_t len;
struct firmware *fw;
- char *serial = "ABC";
+ char *serial = NULL;
char *filename = NULL;
int block;
int pfd;
break;
case 'V':
printf("flash-hmcfgusb " VERSION "\n");
- printf("Copyright (c) 2013-15 Michael Gernoth\n\n");
+ printf("Copyright (c) 2013-16 Michael Gernoth\n\n");
exit(EXIT_SUCCESS);
case 'h':
case ':':
exit(EXIT_FAILURE);
}
- fw = firmware_read_firmware(filename, debug);
+ fw = firmware_read_firmware(filename, ATMEGA_UNKNOWN, debug);
if (!fw)
exit(EXIT_FAILURE);