Fixed incremental directed message receipt for ALLCALL and GROUPCALL
This commit is contained in:
parent
52177a0513
commit
3e38067561
@ -8191,7 +8191,12 @@ void MainWindow::processRxActivity() {
|
|||||||
bool shouldDisplay = abs(d.freq - currentFreqOffset()) <= 10;
|
bool shouldDisplay = abs(d.freq - currentFreqOffset()) <= 10;
|
||||||
|
|
||||||
int prevOffset = d.freq;
|
int prevOffset = d.freq;
|
||||||
if(hasExistingMessageBuffer(d.freq, false, &prevOffset) && m_messageBuffer[prevOffset].cmd.to == m_config.my_callsign()){
|
if(hasExistingMessageBuffer(d.freq, false, &prevOffset) && (
|
||||||
|
(m_messageBuffer[prevOffset].cmd.to == m_config.my_callsign()) ||
|
||||||
|
(isAllCallIncluded(m_messageBuffer[prevOffset].cmd.to) && !ui->selcalButton->isChecked()) ||
|
||||||
|
(isGroupCallIncluded(m_messageBuffer[prevOffset].cmd.to) && abs(prevOffset - currentFreqOffset()) <= 125)
|
||||||
|
)
|
||||||
|
){
|
||||||
d.isBuffered = true;
|
d.isBuffered = true;
|
||||||
shouldDisplay = true;
|
shouldDisplay = true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user