Skip to content

Commit

Permalink
increase delay before gettings offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
stancecoke committed Sep 20, 2023
1 parent f62f34b commit a8e19db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ int main(void)

CLEAR_BIT(TIM1->BDTR, TIM_BDTR_MOE);//Disable PWM

HAL_Delay(200); //wait for stable conditions
HAL_Delay(500); //wait for stable conditions

for(i=0;i<32;i++){
while(!ui8_adc_regular_flag){}
Expand Down

0 comments on commit a8e19db

Please sign in to comment.