mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-22 14:16:08 +08:00
Pass DMR interrupt packets through.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2015,2016,2017,2018 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2015-2019 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -992,6 +992,19 @@ int CDMRGateway::run()
|
||||
if (m_dmrNetwork4 != NULL)
|
||||
m_dmrNetwork4->writeHomePosition(buffer, length);
|
||||
}
|
||||
ret = m_repeater->readInterrupt(buffer, length);
|
||||
if (ret) {
|
||||
if (m_xlxNetwork != NULL)
|
||||
m_xlxNetwork->writeInterrupt(buffer, length);
|
||||
if (m_dmrNetwork1 != NULL)
|
||||
m_dmrNetwork1->writeInterrupt(buffer, length);
|
||||
if (m_dmrNetwork2 != NULL)
|
||||
m_dmrNetwork2->writeInterrupt(buffer, length);
|
||||
if (m_dmrNetwork3 != NULL)
|
||||
m_dmrNetwork3->writeInterrupt(buffer, length);
|
||||
if (m_dmrNetwork4 != NULL)
|
||||
m_dmrNetwork4->writeInterrupt(buffer, length);
|
||||
}
|
||||
|
||||
if (voice != NULL) {
|
||||
ret = voice->read(data);
|
||||
|
||||
Reference in New Issue
Block a user