From a3234a8583f6f0449dce3515a2ffcc62058252d2 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Wed, 26 Jul 2023 10:44:36 -0400 Subject: [PATCH] reorganize code slightly; --- src/p25/Control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p25/Control.cpp b/src/p25/Control.cpp index 8ebb599a..ef901704 100644 --- a/src/p25/Control.cpp +++ b/src/p25/Control.cpp @@ -1127,8 +1127,8 @@ void Control::processNetwork() uint32_t srcId = __GET_UINT16(buffer, 5U); uint32_t dstId = __GET_UINT16(buffer, 8U); - uint32_t netId = __GET_UINT16(buffer, 16U); uint32_t sysId = (buffer[11U] << 8) | (buffer[12U] << 0); + uint32_t netId = __GET_UINT16(buffer, 16U); uint8_t lsd1 = buffer[20U]; uint8_t lsd2 = buffer[21U];