@@ -212,6 +212,7 @@ setup.initialize = function (callback) {
212212 build_date_e = $ ( ".build-date" ) ,
213213 build_type_e = $ ( ".build-type" ) ,
214214 build_info_e = $ ( ".build-info" ) ,
215+ build_firmware_e = $ ( ".build-firmware" ) ,
215216 build_options_e = $ ( ".build-options" ) ;
216217
217218 // DISARM FLAGS
@@ -369,29 +370,39 @@ setup.initialize = function (callback) {
369370
370371 if ( supported && ispConnected ( ) ) {
371372 const buildRoot = `https://build.betaflight.com/api/builds/${ FC . CONFIG . buildKey } ` ;
373+
372374 const buildConfig = `<span class="buildInfoBtn" title="${ i18n . getMessage (
373375 "initialSetupInfoBuildConfig" ,
374376 ) } : ${ buildRoot } /json">
375- <a href="${ buildRoot } /json" target="_blank"><strong>${ i18n . getMessage (
377+ <a href="${ buildRoot } /json" target="_blank"><strong>${ i18n . getMessage (
376378 "initialSetupInfoBuildConfig" ,
377379) } </strong></a></span>`;
380+
378381 const buildLog = `<span class="buildInfoBtn" title="${ i18n . getMessage (
379382 "initialSetupInfoBuildLog" ,
380383 ) } : ${ buildRoot } /log">
381- <a href="${ buildRoot } /log" target="_blank"><strong>${ i18n . getMessage (
384+ <a href="${ buildRoot } /log" target="_blank"><strong>${ i18n . getMessage (
382385 "initialSetupInfoBuildLog" ,
383386) } </strong></a></span>`;
384- build_info_e . html ( `<span class="buildInfoBtn" title="${ i18n . getMessage (
385- "initialSetupInfoBuildOptions" ,
386- ) } ">
387- <a class="buildOptions" href=#"><strong>${ i18n . getMessage (
388- "initialSetupInfoBuildOptionList" ,
389- ) } </strong></a></span>`) ;
387+
390388 build_info_e . html ( `${ buildConfig } ${ buildLog } ` ) ;
389+
390+ const buildDownload = `<span class="buildInfoBtn" title="${ i18n . getMessage (
391+ "initialSetupInfoBuildDownload" ,
392+ ) } : ${ buildRoot } /hex">
393+ <a href="${ buildRoot } /hex" target="_blank"><strong>${ i18n . getMessage (
394+ "initialSetupInfoBuildDownload" ,
395+ ) } </strong></a></span>`;
396+
397+ build_firmware_e . html ( buildDownload ) ;
391398 } else {
392399 build_info_e . html (
393400 supported ? i18n . getMessage ( "initialSetupNotOnline" ) : i18n . getMessage ( "initialSetupNoBuildInfo" ) ,
394401 ) ;
402+
403+ build_firmware_e . html (
404+ supported ? i18n . getMessage ( "initialSetupNotOnline" ) : i18n . getMessage ( "initialSetupNoBuildInfo" ) ,
405+ ) ;
395406 }
396407 } ;
397408
@@ -418,7 +429,7 @@ setup.initialize = function (callback) {
418429 const buildOptions = `<span class="buildInfoBtn" title="${ i18n . getMessage (
419430 "initialSetupInfoBuildOptionList" ,
420431 ) } ">
421- <a class="buildOptions" href=#"><strong>${ i18n . getMessage (
432+ <a class="buildOptions" href=#"><strong>${ i18n . getMessage (
422433 "initialSetupInfoBuildOptions" ,
423434 ) } </strong></a></span>`;
424435
0 commit comments