From 982bffb5c76027b295845f4f11eaa03b3063341d Mon Sep 17 00:00:00 2001 From: Tashfi Nowroz Date: Tue, 6 Jun 2023 17:20:25 +0600 Subject: [PATCH] Correction - QueueHandle_t defination xQueueHandle doesn't work. QueueHandle_t works for IDF. --- examples/peripherals/pcnt/main/pcnt_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/peripherals/pcnt/main/pcnt_example_main.c b/examples/peripherals/pcnt/main/pcnt_example_main.c index 2a4b3695c7..e1ac04c515 100644 --- a/examples/peripherals/pcnt/main/pcnt_example_main.c +++ b/examples/peripherals/pcnt/main/pcnt_example_main.c @@ -53,7 +53,7 @@ #define PCNT_INPUT_CTRL_IO 5 // Control GPIO HIGH=count up, LOW=count down #define LEDC_OUTPUT_IO 18 // Output GPIO of a sample 1 Hz pulse generator -xQueueHandle pcnt_evt_queue; // A queue to handle pulse counter events +QueueHandle_t pcnt_evt_queue; // A queue to handle pulse counter events /* A sample structure to pass events from the PCNT * interrupt handler to the main program.