diff --git a/oresat_c3/templates/opd.html b/oresat_c3/templates/opd.html index 67e9146..e9e71cd 100644 --- a/oresat_c3/templates/opd.html +++ b/oresat_c3/templates/opd.html @@ -43,9 +43,9 @@ 0x1A: 'ACS', 0x1B: 'DxWiFi', 0x1C: 'Star Tracker', - 0x1D: 'Battery 2', + 0x1D: 'CFC Processor', 0x1E: 'CFC Sensor', - 0x1F: 'CFC Processor', + 0x1F: 'Battery 2', 0x20: 'Reaction Wheel 1', 0x21: 'Reaction Wheel 2', 0x22: 'Reaction Wheel 3', @@ -66,7 +66,8 @@ let newRow = tbodyRef.insertRow(); let newCell = newRow.insertCell(); - let newText = document.createTextNode(NODES[key]); + let upperHex = parseInt(key).toString(16).toUpperCase() + let newText = document.createTextNode(`${NODES[key]} (0x${upperHex})`); newCell.appendChild(newText); let newCell2 = newRow.insertCell();