Skip to content

Commit 5a4a346

Browse files
committed
Fix test compile errors
1 parent 3e2191e commit 5a4a346

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/test_event_group_dynamic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static void vTask2Code(void * pvParameters)
6363
int event_group_dynamic(void)
6464
{
6565
xEventGroup = xEventGroupCreate();
66-
xEventGroupDelete(xEventGroup);
66+
vEventGroupDelete(xEventGroup);
6767
xEventGroup = xEventGroupCreate();
6868
if (xEventGroup == NULL)
6969
{

test/test_event_group_static.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static void vTask2Code(void * pvParameters)
6363
int event_group_static(void)
6464
{
6565
xEventGroup = xEventGroupCreateStatic( &xEventGroupBuffer );
66-
xEventGroupDelete(xEventGroup);
66+
vEventGroupDelete(xEventGroup);
6767
xEventGroup = xEventGroupCreateStatic( &xEventGroupBuffer );
6868
if (xEventGroup == NULL)
6969
{

test/test_queue_isr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
static QueueHandle_t xQueue = NULL;
2828
static rt_timer_t timer1;
2929

30-
ALIGN(RT_ALIGN_SIZE)
30+
rt_align(RT_ALIGN_SIZE)
3131
static char thread1_stack[1024];
3232
static struct rt_thread thread1;
3333
static void rt_thread1_entry(void *parameter)

test/test_semaphore_isr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
static SemaphoreHandle_t dynamic_sem = RT_NULL;
2727
static rt_timer_t timer1;
2828

29-
ALIGN(RT_ALIGN_SIZE)
29+
rt_align(RT_ALIGN_SIZE)
3030
static char thread1_stack[1024];
3131
static struct rt_thread thread1;
3232
static void rt_thread1_entry(void *parameter)

0 commit comments

Comments
 (0)