Skip to content

Commit

Permalink
removing unecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizoku-oh committed Apr 23, 2020
1 parent 13398d7 commit ba54233
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
static void Clock_Config(void);
static void GPIO_Init(void);

/* The tasks functions. */
void vTask1(void *pvParameters);
void vTask2(void *pvParameters);

Expand All @@ -13,18 +12,9 @@ int main(void)
Clock_Config();
GPIO_Init();

/* Create one of the two tasks. */
xTaskCreate(vTask1 , /* Pointer to the function that implements the task. */
"Task 1" , /* Text name for the task. This is to facilitate debugging only. */
1000 , /* Stack depth - most small microcontrollers will use much less stack than this. */
NULL , /* We are not using the task parameter. */
1 , /* This task will run at priority 1. */
NULL); /* We are not using the task handle. */

/* Create the other task in exactly the same way. */
xTaskCreate(vTask1, "Task 1", 1000, NULL, 1, NULL);
xTaskCreate(vTask2, "Task 2", 1000, NULL, 1, NULL);

/* Start the scheduler to start executing the tasks . */
vTaskStartScheduler();

while (1) {}
Expand Down

0 comments on commit ba54233

Please sign in to comment.