Update main/main.c

This commit is contained in:
Alexey Zholtikov 2024-05-27 15:40:52 +03:00
parent 997b798fb3
commit b31561a4aa

View File

@ -5,15 +5,15 @@
// #include "freertos/task.h" // #include "freertos/task.h"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"
// static bool example_rmt_rx_done_callback(rmt_channel_handle_t channel, const rmt_rx_done_event_data_t *edata, void *user_data) static bool example_rmt_rx_done_callback(rmt_channel_handle_t channel, const rmt_rx_done_event_data_t *edata, void *user_data)
// { {
// // BaseType_t high_task_wakeup = pdFALSE; // // BaseType_t high_task_wakeup = pdFALSE;
// // QueueHandle_t receive_queue = (QueueHandle_t)user_data; // // QueueHandle_t receive_queue = (QueueHandle_t)user_data;
// // // send the received RMT symbols to the parser task // // // send the received RMT symbols to the parser task
// // xQueueSendFromISR(receive_queue, edata, &high_task_wakeup); // // xQueueSendFromISR(receive_queue, edata, &high_task_wakeup);
// // // return whether any task is woken up // // // return whether any task is woken up
// // return high_task_wakeup == pdTRUE; // // return high_task_wakeup == pdTRUE;
// } }
void app_main(void) void app_main(void)
{ {