From 8273f39aa9850d94ddc2b9013be012fb3397090f Mon Sep 17 00:00:00 2001 From: php Date: Tue, 5 Nov 2024 02:36:33 -0600 Subject: [PATCH] Set default values in CALL_ALRT and ACK_RSP TSBK constructors --- P25/lc/tsbk/IOSP_ACK_RSP.cs | 2 +- P25/lc/tsbk/IOSP_CALL_ALRT.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/P25/lc/tsbk/IOSP_ACK_RSP.cs b/P25/lc/tsbk/IOSP_ACK_RSP.cs index 53e0701..b709de7 100644 --- a/P25/lc/tsbk/IOSP_ACK_RSP.cs +++ b/P25/lc/tsbk/IOSP_ACK_RSP.cs @@ -33,7 +33,7 @@ namespace fnecore.P25.LC.TSBK /// /// /// - public IOSP_ACK_RSP(uint dstId, uint srcId, bool aivFlag, byte service) + public IOSP_ACK_RSP(uint dstId = 0, uint srcId = 0, bool aivFlag = false, byte service = 0x00) { DstId = dstId; SrcId = srcId; diff --git a/P25/lc/tsbk/IOSP_CALL_ALRT.cs b/P25/lc/tsbk/IOSP_CALL_ALRT.cs index 58701ed..29d2e94 100644 --- a/P25/lc/tsbk/IOSP_CALL_ALRT.cs +++ b/P25/lc/tsbk/IOSP_CALL_ALRT.cs @@ -26,7 +26,7 @@ namespace fnecore.P25.LC.TSBK /// /// /// - public IOSP_CALL_ALRT(uint dstId, uint srcId) + public IOSP_CALL_ALRT(uint dstId = 0, uint srcId = 0) { DstId = dstId; SrcId = srcId;