simulation file + gitignore update

This commit is contained in:
2024-11-10 20:43:42 +01:00
parent d424d3a7d3
commit 01d3627683
15 changed files with 149 additions and 95758 deletions

View File

@ -105,7 +105,7 @@ int main(void)
led_init(&htim2);
ftcan_init(&hcan);
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
@ -114,7 +114,6 @@ int main(void)
/* USER CODE BEGIN 3 */
adc_loop(&hadc);
}
/* USER CODE END 3 */
}
@ -206,14 +205,6 @@ static void MX_ADC_Init(void)
{
Error_Handler();
}
/** Configure for the selected ADC regular channel to be converted.
*/
sConfig.Channel = ADC_CHANNEL_1;
if (HAL_ADC_ConfigChannel(&hadc, &sConfig) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN ADC_Init 2 */
/* USER CODE END ADC_Init 2 */