We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71a93ec + a8847e5 commit 516617bCopy full SHA for 516617b
tabs/firmware_flasher.js
@@ -444,10 +444,12 @@ TABS.firmware_flasher.initialize = function (callback) {
444
if ( filename.endsWith('_with_bl.hex') ) {
445
console.log("PROCESS hex:",summary.url);
446
process_hex(data, summary);
447
- }
448
- if ( filename.endsWith('.apj') ) {
+ } else if ( filename.endsWith('.apj') ) {
449
console.log("PROCESS apj:",summary.url);
450
process_apj(data, summary);
+ } else {
451
+ console.log("Unable to process:",filename);
452
+ $('span.progressLabel').text('Unable to process local file. (requires "_with_bl.hex" or ".apj")');
453
}
454
455
});
0 commit comments