tf update and some progress
This commit is contained in:
+6
-1
@@ -2,8 +2,9 @@
|
||||
// Created by MightyPork on 2017/12/22.
|
||||
//
|
||||
|
||||
#include <comm/messages.h>
|
||||
#include "platform.h"
|
||||
#include "comm/messages.h"
|
||||
#include "utils/hexdump.h"
|
||||
#include "task_msg.h"
|
||||
#include "sched_queue.h"
|
||||
|
||||
@@ -15,6 +16,10 @@ void TaskMessaging(const void * argument)
|
||||
while (1) {
|
||||
xQueueReceive(queRxDataHandle, &slot, osWaitForever);
|
||||
assert_param(slot.len>0 && slot.len<=64); // check the len is within bounds
|
||||
|
||||
|
||||
hexDump("MSG", slot.data, slot.len);
|
||||
|
||||
TF_Accept(comm, slot.data, slot.len);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user