summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2018-10-31 16:06:15 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2018-10-31 16:12:34 +0100
commit91c4e8e66f28d3967e3c2a36478810c10031b8e5 (patch)
treeb0731f62795cc3774b9661b01f071e58e1dfbef1 /app
parent11ceeadccd30e1985eaf85b6cd46cf04c846a8d9 (diff)
switch to heap_1 allocator
Heap_4 allocator was used before. Since we only allocate memory on boot and never delete anything heap_1 allocator can be used. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'app')
-rw-r--r--app/src/can_task.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/can_task.c b/app/src/can_task.c
index e34d35d..b81ed72 100644
--- a/app/src/can_task.c
+++ b/app/src/can_task.c
@@ -281,7 +281,6 @@ void can0_task(void *pvParameters) {
{
can_fifo_rx(0, &rxXfer);
}
- vSemaphoreDelete(can_msg.sem);
}
void can1_task(void *pvParameters) {
@@ -303,7 +302,6 @@ void can1_task(void *pvParameters) {
{
can_fifo_rx(1, &rxXfer);
}
- vSemaphoreDelete(can_msg.sem);
}