Skip to content

Commit

Permalink
Update mods.js
Browse files Browse the repository at this point in the history
custom frequ steps offsets
  • Loading branch information
RE3CON authored Aug 9, 2023
1 parent 25afe74 commit a65098c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mods.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@ modClasses = [
}
,
*/
/* class Mod_ChangeTXLimits extends FirmwareMod {
/* class Mod_ChangeTXLimits extends FirmwareMod { //custom freq steps offsets + hex strings old + new
constructor() {
super("Expand TX limits", "Allows transmission on the specified frequency range. Harmonic wave radiation TX PWR can be stronger than the on the input frequency. It may cause severe interference! Check your local law rules!", 0);
this.inputMinTX = addInputField(this.modSpecificDiv, "Specify a new value for the minimum frequency in the range 18-1300 MHz:", "50");
this.inputMaxTX = addInputField(this.modSpecificDiv, "Specify a new value for the maximum frequency in the range 18-1300 MHz:", "600");
}
apply(firmwareData) {
const offset = 0x150c;
const offset2 = 0x1510; // replace 2 strings
const offset = 0xE090 oldData 80f77300f684cf00 newData 7fcba400f684cf00 //customFreq
const offset2 = 0x150D oldData 771b0080a4bf077c newData 4b4c00008793037c //
offset3 = 0xE0A8 oldData 00879303a02e6300 newData 80a4bf07a02e6300
const txStart = parseInt(this.inputMinTX.value) * 100000;
const txStop = parseInt(this.inputMaxTX.value) * 100000;
Expand Down

0 comments on commit a65098c

Please sign in to comment.