private void TuneFull() { if (!console.fwc_init || console.CurrentModel != Model.FLEX5000) { return; } int old_tun_pwr = 50; btnTuneFull.BackColor = console.ButtonSelectedColor; if (chkUseTUN.Checked) { console.TUN = true; old_tun_pwr = console.PWR; console.PWR = 10; } FWCATU.FullTune(); if (chkUseTUN.Checked) { console.PWR = old_tun_pwr; console.TUN = false; } btnTuneFull.BackColor = SystemColors.Control; UpdateFeedback(); console.FWCATUTuned(); }
private void TuneFull() { int old_tun_pwr = 50; btnTuneFull.BackColor = console.ButtonSelectedColor; if (chkUseTUN.Checked) { console.TUN = true; old_tun_pwr = console.PWR; console.PWR = 10; } FWCATU.FullTune(); if (chkUseTUN.Checked) { console.PWR = old_tun_pwr; console.TUN = false; } btnTuneFull.BackColor = SystemColors.Control; UpdateFeedback(); }