solved laser current setup timing issue
This commit is contained in:
@ -228,6 +228,8 @@ void ADC_IRQHandler(void)
|
||||
void TIM1_UP_TIM10_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN TIM1_UP_TIM10_IRQn 0 */
|
||||
//HAL_GPIO_WritePin(GPIOG, GPIO_PIN_9, GPIO_PIN_SET); // set the current step laser current trigger
|
||||
//HAL_GPIO_WritePin(GPIOG, GPIO_PIN_9, GPIO_PIN_RESET);
|
||||
TO10++;
|
||||
if (TO10 == TO10_counter)
|
||||
TIM10_coflag = 1;
|
||||
|
||||
Reference in New Issue
Block a user