From db0a0850966c6f90f53efa5e1505f8715258ce8d Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Mon, 3 Aug 2026 01:44:35 +0100 Subject: [PATCH] Match values in resetToDefaults. --- plugins/channeltx/modpacket/packetmodsettings.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/channeltx/modpacket/packetmodsettings.cpp b/plugins/channeltx/modpacket/packetmodsettings.cpp index b0f45f07b..869e50d0a 100644 --- a/plugins/channeltx/modpacket/packetmodsettings.cpp +++ b/plugins/channeltx/modpacket/packetmodsettings.cpp @@ -260,17 +260,17 @@ bool PacketModSettings::deserialize(const QByteArray& data) d.readS32(2, &m_baud, 1200); d.readReal(3, &m_rfBandwidth, 12500.0f); d.readReal(4, &m_fmDeviation, 2500.0f); - d.readReal(5, &m_gain, 0.0f); + d.readReal(5, &m_gain, -2.0f); d.readBool(6, &m_channelMute, false); d.readBool(7, &m_repeat, false); d.readReal(8, &m_repeatDelay, 1.0f); d.readS32(9, &m_repeatCount, -1); d.readS32(10, &m_rampUpBits, 8); d.readS32(11, &m_rampDownBits, 8); - d.readS32(12, &m_rampRange, 8); + d.readS32(12, &m_rampRange, 60); d.readBool(13, &m_modulateWhileRamping, true); - d.readS32(14, &m_markFrequency, 5); - d.readS32(15, &m_spaceFrequency, 5); + d.readS32(14, &m_markFrequency, 2200); + d.readS32(15, &m_spaceFrequency, 1200); d.readS32(16, &m_ax25PreFlags, 5); d.readS32(17, &m_ax25PostFlags, 4); d.readS32(18, &m_ax25Control, 3);