Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
arjenhiemstra committed May 1, 2024
2 parents 307abe6 + 2c554d5 commit e7efeae
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,8 @@ <h1>Update firmware</h1>
<script>
$('#firmware_ver').text(fw_version);
$('#hardware_rev').text(hw_revision);
if (hw_revision.startsWith('NON-CVE ')) {
$('#other_firmware').append('<a target="_blank" href="https://github.com/arjenhiemstra/ithowifi/tree/master/compiled_firmware_files/non-cve_rev_1">link</a>');
}
else if (hw_revision == '2') {
$('#other_firmware').append('<a target="_blank" href="https://github.com/arjenhiemstra/ithowifi/tree/master/compiled_firmware_files/hardware_rev_2">link</a>');
}
$('#other_firmware').append('<a target="_blank" href="https://github.com/arjenhiemstra/ithowifi/tree/master/compiled_firmware_files/unified_hw2_noncve">link</a>');

function process(key, value) {
if (key == hw_revision) {
let latest_fw = value.latest_fw;
Expand Down

0 comments on commit e7efeae

Please sign in to comment.