From 522d9f4f7de96e6848f00cdd25d229212ac6ce87 Mon Sep 17 00:00:00 2001 From: skarg Date: Sat, 29 Sep 2007 14:24:28 +0000 Subject: [PATCH] Corrected poll station for sole master PFM transition. --- bacnet-stack/ports/rtos32/mstp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/ports/rtos32/mstp.c b/bacnet-stack/ports/rtos32/mstp.c index 77971849..bc08426a 100644 --- a/bacnet-stack/ports/rtos32/mstp.c +++ b/bacnet-stack/ports/rtos32/mstp.c @@ -965,7 +965,7 @@ bool MSTP_Master_Node_FSM(volatile struct mstp_port_struct_t * mstp_port) } else if (next_poll_station == mstp_port->Next_Station) { if (mstp_port->SoleMaster == true) { /* SoleMasterRestartMaintenancePFM */ - mstp_port->Poll_Station = next_poll_station; + mstp_port->Poll_Station = next_next_station; MSTP_Create_And_Send_Frame(mstp_port, FRAME_TYPE_POLL_FOR_MASTER, mstp_port->Poll_Station, mstp_port->This_Station, NULL, 0);