diff options
Diffstat (limited to 'applications/freertos/main.cpp')
-rw-r--r-- | applications/freertos/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/freertos/main.cpp b/applications/freertos/main.cpp index ae4bc38..0f4009e 100644 --- a/applications/freertos/main.cpp +++ b/applications/freertos/main.cpp @@ -164,7 +164,7 @@ void ethosu_semaphore_give(void *sem) { if (xPortIsInsideInterrupt()) { ret = xSemaphoreGiveFromISR(handle, NULL); if (ret != pdTRUE) { - printf("Error: Failed to give semaphore from ISR. ret - 0x%08x\n", ret); + printf("Error: Failed to give semaphore from ISR. ret - 0x%08lx\n", ret); } } else { ret = xSemaphoreGive(handle); @@ -210,7 +210,7 @@ void inferenceProcessTask(void *pvParameters) { void inferenceSenderTask(void *pvParameters) { int ret = 0; - QueueHandle_t inferenceProcessQueue = reinterpret_cast<QueueHandle_t>(pvParameters); + QueueHandle_t _inferenceProcessQueue = reinterpret_cast<QueueHandle_t>(pvParameters); xInferenceJob jobs[NUM_JOBS_PER_TASK]; // Create queue for response messages @@ -227,7 +227,7 @@ void inferenceSenderTask(void *pvParameters) { job->responseQueue = senderQueue; // Send job printf("inferenceSenderTask: Sending inference job: job=%p, name=%s\n", job, job->name.c_str()); - if (xQueueSend(inferenceProcessQueue, &job, portMAX_DELAY) != pdPASS) { + if (xQueueSend(_inferenceProcessQueue, &job, portMAX_DELAY) != pdPASS) { printf("Error: inferenceSenderTask failed in send to Q.\n"); exit(1); } |