12 lines
456 B
C
12 lines
456 B
C
|
#include "unity.h"
|
||
|
|
||
|
TEST_CASE("pthread C test 1", "[pthread]")
|
||
|
{
|
||
|
// int delay_ms = 50;
|
||
|
// const delay_test_arg_t args = { .delay_us = delay_ms * 1000, .method = 1 };
|
||
|
// xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void*) &args, 3, NULL, 0);
|
||
|
// vTaskDelay(delay_ms / portTICK_PERIOD_MS + 1);
|
||
|
// xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void*) &args, 3, NULL, 1);
|
||
|
// vTaskDelay(delay_ms / portTICK_PERIOD_MS + 1);
|
||
|
}
|