Merge pull request #131 from AndyTaylorTweet/patch-4

Update YSFGateway.cpp
This commit is contained in:
Jonathan Naylor 2019-01-29 18:51:22 +00:00 committed by GitHub
commit 12499a3169
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -550,7 +550,7 @@ void CYSFGateway::processWiresX(const unsigned char* buffer, unsigned char fi, u
m_linkType = LINK_YSF;
// If we are linking to a YSF2xxx mode, send the YSF2xxx gateway the link command too
if (reflector->m_wiresX) {
if ( (wiresXCommandPassthrough) && (reflector->m_wiresX) ) {
m_wiresX->sendConnect(m_ysfNetwork);
}
}