Merge pull request #1486 from GeoBaltz/oops3

FIx more paste errors.
This commit is contained in:
Michael Black 2024-01-23 15:46:05 -06:00 committed by GitHub
commit ceebaeae35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4572,7 +4572,7 @@ int kenwood_get_ctcss_tone(RIG *rig, vfo_t vfo, tone_t *tone)
}
}
*tone = caps->ctcss_list[tone_idx] - kenwood_caps(rig)->tone_table_base;
*tone = caps->ctcss_list[tone_idx - kenwood_caps(rig)->tone_table_base];
RETURNFUNC(RIG_OK);
}
@ -4710,7 +4710,7 @@ int kenwood_get_ctcss_sql(RIG *rig, vfo_t vfo, tone_t *tone)
}
}
*tone = caps->ctcss_list[tone_idx] - kenwood_caps(rig)->tone_table_base;
*tone = caps->ctcss_list[tone_idx - kenwood_caps(rig)->tone_table_base];
RETURNFUNC(RIG_OK);
}