1
0
Fork 0

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.
ycs232-kbc
Andy Taylor 6 years ago committed by GitHub
parent 8288d64848
commit 4327b23c91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -268,9 +268,9 @@ int CYSFGateway::run()
unsigned char ft = fich.getFT(); unsigned char ft = fich.getFT();
CYSFReflector* reflector = m_wiresX->getReflector(); CYSFReflector* reflector = m_wiresX->getReflector();
if ( (wiresXCommandPassthrough) && (reflector) ) { if (m_ysfNetwork != NULL && m_linkType == LINK_YSF) {
// Connected to a reflector, figure out what kind it is // Connected to a YSF reflector, figure out what kind it is
if (reflector->m_wiresX) { if ( (wiresXCommandPassthrough) && (reflector->m_wiresX) ) {
// Pass Control Commands (WiresX capable reflector) // Pass Control Commands (WiresX capable reflector)
processDTMF(buffer, dt); processDTMF(buffer, dt);
processWiresX(buffer, fi, dt, fn, ft, true); processWiresX(buffer, fi, dt, fn, ft, true);

Loading…
Cancel
Save