mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 05:43:22 +00:00
FreeRTOS
This commit is contained in:
@@ -27,7 +27,7 @@ typedef struct {
|
|||||||
uint32_t num1;
|
uint32_t num1;
|
||||||
uint32_t num2;
|
uint32_t num2;
|
||||||
uint32_t num3;
|
uint32_t num3;
|
||||||
} data;
|
} SensorsData;
|
||||||
|
|
||||||
static int cntdn;
|
static int cntdn;
|
||||||
|
|
||||||
@@ -74,8 +74,8 @@ void app_main(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
xQueue1 = xQueueCreate(10, sizeof(data));
|
xQueue1 = xQueueCreate(10, sizeof(SensorsData));
|
||||||
xQueue2 = xQueueCreate(10, sizeof(data));
|
xQueue2 = xQueueCreate(10, sizeof(SensorsData));
|
||||||
if (xQueue1 == NULL || xQueue2 == NULL) {
|
if (xQueue1 == NULL || xQueue2 == NULL) {
|
||||||
printf("Failed to create queues\n");
|
printf("Failed to create queues\n");
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user