Skip to content

Commit

Permalink
Removed CubeMX useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cnoviello committed Jan 22, 2016
1 parent 3eff43e commit 67dc1c8
Showing 1 changed file with 2 additions and 46 deletions.
48 changes: 2 additions & 46 deletions src/main.c
Expand Up @@ -72,15 +72,7 @@ void StartDefaultTask(void const * argument);

/* USER CODE END 0 */

int main(void)
{

/* USER CODE BEGIN 1 */

/* USER CODE END 1 */

/* MCU Configuration----------------------------------------------------------*/

int main(void) {
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();

Expand All @@ -93,52 +85,16 @@ int main(void)
MX_USART3_UART_Init();
MX_USB_OTG_FS_PCD_Init();

/* USER CODE BEGIN 2 */

/* USER CODE END 2 */

/* USER CODE BEGIN RTOS_MUTEX */
/* add mutexes, ... */
/* USER CODE END RTOS_MUTEX */

/* USER CODE BEGIN RTOS_SEMAPHORES */
/* add semaphores, ... */
/* USER CODE END RTOS_SEMAPHORES */

/* USER CODE BEGIN RTOS_TIMERS */
/* start timers, add new ones, ... */
/* USER CODE END RTOS_TIMERS */

/* Create the thread(s) */
/* definition and creation of defaultTask */
osThreadDef(defaultTask, StartDefaultTask, osPriorityNormal, 0, 128);
defaultTaskHandle = osThreadCreate(osThread(defaultTask), NULL);

/* USER CODE BEGIN RTOS_THREADS */
/* add threads, ... */
/* USER CODE END RTOS_THREADS */

/* USER CODE BEGIN RTOS_QUEUES */
/* add queues, ... */
/* USER CODE END RTOS_QUEUES */


/* Start scheduler */
osKernelStart();

/* We should never get here as control is now taken by the scheduler */

/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */

/* USER CODE BEGIN 3 */

}
/* USER CODE END 3 */

while (1);
}

/** System Clock Configuration
Expand Down

0 comments on commit 67dc1c8

Please sign in to comment.