From aa124bc0915df6a152120ac6c095b307bdc7b081 Mon Sep 17 00:00:00 2001 From: skarg Date: Sat, 15 Nov 2014 17:27:27 +0000 Subject: [PATCH] updated mstpsnap utility --- bacnet-stack/ports/linux/mstpsnap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bacnet-stack/ports/linux/mstpsnap.c b/bacnet-stack/ports/linux/mstpsnap.c index 6dbf3804..46b54560 100644 --- a/bacnet-stack/ports/linux/mstpsnap.c +++ b/bacnet-stack/ports/linux/mstpsnap.c @@ -62,8 +62,8 @@ static volatile struct mstp_port_struct_t MSTP_Port; /* buffers needed by mstp port struct */ static uint8_t RxBuffer[MAX_MPDU]; static uint8_t TxBuffer[MAX_MPDU]; -static uint16_t Timer_Silence( - void) +static uint32_t Timer_Silence( + void *pArg) { uint32_t delta_time = 0; @@ -72,11 +72,11 @@ static uint16_t Timer_Silence( delta_time = 0xFFFF; } - return (uint16_t) delta_time; + return delta_time; } static void Timer_Silence_Reset( - void) + void *pArg) { timer_reset(TIMER_SILENCE); }