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