Fixed makefile for building the Linux router application. (#585)
* Fixed Makefile for building the Linux router application.
This commit is contained in:
@@ -563,10 +563,10 @@ uint16_t MSTP_Get_Reply(
|
||||
struct mstp_pdu_packet *pkt;
|
||||
SHARED_MSTP_DATA *poSharedData = (SHARED_MSTP_DATA *)mstp_port->UserData;
|
||||
|
||||
(void)timeout;
|
||||
if (!poSharedData) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (Ringbuf_Empty(&poSharedData->PDU_Queue)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user