Update YSFGateway.cpp
replace my code with yours... this seems to work well enough for testing, with one caveat, I need to remove YSF2xxx modes from the Pi-Star host files and modify the dashboard to cope without them in there, not a problem.
This commit is contained in:
parent
8288d64848
commit
4327b23c91
1 changed files with 3 additions and 3 deletions
|
@ -268,9 +268,9 @@ int CYSFGateway::run()
|
|||
unsigned char ft = fich.getFT();
|
||||
|
||||
CYSFReflector* reflector = m_wiresX->getReflector();
|
||||
if ( (wiresXCommandPassthrough) && (reflector) ) {
|
||||
// Connected to a reflector, figure out what kind it is
|
||||
if (reflector->m_wiresX) {
|
||||
if (m_ysfNetwork != NULL && m_linkType == LINK_YSF) {
|
||||
// Connected to a YSF reflector, figure out what kind it is
|
||||
if ( (wiresXCommandPassthrough) && (reflector->m_wiresX) ) {
|
||||
// Pass Control Commands (WiresX capable reflector)
|
||||
processDTMF(buffer, dt);
|
||||
processWiresX(buffer, fi, dt, fn, ft, true);
|
||||
|
|
Loading…
Reference in a new issue