mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-09-28 15:56:34 -04:00
xlxd 2.3.2
Added YSF 'auto-link' feature
This commit is contained in:
parent
728b530a20
commit
6749775430
@ -176,6 +176,11 @@ void CYsfProtocol::Task(void)
|
||||
// create the client
|
||||
CYsfClient *newclient = new CYsfClient(Callsign, Ip);
|
||||
|
||||
// aautolink, if enabled
|
||||
#if YSF_AUTOLINK_ENABLE
|
||||
newclient->SetReflectorModule(YSF_AUTOLINK_MODULE);
|
||||
#endif
|
||||
|
||||
// and append
|
||||
clients->AddClient(newclient);
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
// xlxd
|
||||
//
|
||||
// Created by Jean-Luc Deltombe (LX3JL) on 31/10/2015.
|
||||
// Copyright © 2015-2019 Jean-Luc Deltombe (LX3JL). All rights reserved.
|
||||
// Copyright © 2015 Jean-Luc Deltombe (LX3JL). All rights reserved.
|
||||
//
|
||||
// ----------------------------------------------------------------------------
|
||||
// This file is part of xlxd.
|
||||
@ -49,7 +49,7 @@
|
||||
|
||||
#define VERSION_MAJOR 2
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_REVISION 1
|
||||
#define VERSION_REVISION 2
|
||||
|
||||
// global ------------------------------------------------------
|
||||
|
||||
@ -120,6 +120,8 @@
|
||||
#define YSF_KEEPALIVE_TIMEOUT (YSF_KEEPALIVE_PERIOD*10) // in seconds
|
||||
#define YSF_DEFAULT_NODE_TX_FREQ 437000000 // in Hz
|
||||
#define YSF_DEFAULT_NODE_RX_FREQ 437000000 // in Hz
|
||||
#define YSF_AUTOLINK_ENABLE 0 // 1 = enable, 0 = disable auto-link
|
||||
#define YSF_AUTOLINK_MODULE 'B' // module for client to auto-link to
|
||||
|
||||
|
||||
// Transcoder server --------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user