Fixed makefile for building the Linux router application. (#585)

* Fixed Makefile for building the Linux router application.
This commit is contained in:
Steve Karg
2024-02-28 17:08:00 -06:00
committed by GitHub
parent 1176b0d966
commit 5c55683f86
6 changed files with 43 additions and 9 deletions
+1 -1
View File
@@ -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;
}