Rewrote MS/TP to minimize memory usage. Compiles, but untested.

This commit is contained in:
skarg
2007-09-05 23:13:15 +00:00
parent 794362580b
commit 17ceb11d3c
5 changed files with 1235 additions and 308 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ int main(void)
task_milliseconds();
/* other tasks */
/* BACnet handling */
pdu_len = datalink_receive(&src, &PDUBuffer[0], MAX_MPDU, 0);
pdu_len = datalink_receive(&src, &PDUBuffer[0], sizeof(PDUBuffer), 0);
if (pdu_len) {
//npdu_handler(&src, &PDUBuffer[0], pdu_len);
}