Corrected MS/TP cap statistics. Fixed build for Linux.
This commit is contained in:
@@ -16,6 +16,7 @@ BACNET_SOURCE_DIR = ../../src
|
|||||||
SRCS = main.c \
|
SRCS = main.c \
|
||||||
${BACNET_PORT_DIR}/rs485.c \
|
${BACNET_PORT_DIR}/rs485.c \
|
||||||
${BACNET_PORT_DIR}/timer.c \
|
${BACNET_PORT_DIR}/timer.c \
|
||||||
|
${BACNET_SOURCE_DIR}/fifo.c \
|
||||||
${BACNET_SOURCE_DIR}/mstp.c \
|
${BACNET_SOURCE_DIR}/mstp.c \
|
||||||
${BACNET_SOURCE_DIR}/mstptext.c \
|
${BACNET_SOURCE_DIR}/mstptext.c \
|
||||||
${BACNET_SOURCE_DIR}/debug.c \
|
${BACNET_SOURCE_DIR}/debug.c \
|
||||||
|
|||||||
@@ -222,8 +222,8 @@ static void packet_statistics_save(
|
|||||||
fprintf(stdout, "\t%lu\t%lu\t%lu\t%lu",
|
fprintf(stdout, "\t%lu\t%lu\t%lu\t%lu",
|
||||||
(long unsigned int) MSTP_Statistics[i].token_count,
|
(long unsigned int) MSTP_Statistics[i].token_count,
|
||||||
(long unsigned int) MSTP_Statistics[i].token_retries,
|
(long unsigned int) MSTP_Statistics[i].token_retries,
|
||||||
(long unsigned int) MSTP_Statistics[i].token_reply,
|
(long unsigned int) MSTP_Statistics[i].pfm_count,
|
||||||
(long unsigned int) MSTP_Statistics[i].pfm_count);
|
(long unsigned int) MSTP_Statistics[i].token_reply);
|
||||||
fprintf(stdout, "\t%lu\t%lu\t%lu\t%lu",
|
fprintf(stdout, "\t%lu\t%lu\t%lu\t%lu",
|
||||||
(long unsigned int) MSTP_Statistics[i].tusage_timeout,
|
(long unsigned int) MSTP_Statistics[i].tusage_timeout,
|
||||||
(long unsigned int) MSTP_Statistics[i].pfm_reply,
|
(long unsigned int) MSTP_Statistics[i].pfm_reply,
|
||||||
|
|||||||
Reference in New Issue
Block a user