This commit is contained in:
2025-08-05 02:23:36 -04:00
parent a728053683
commit 939e86def9

View File

@@ -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;