修改systick_delay方式为查询比较,保留systick累加值作为时间戳

This commit is contained in:
2024-01-05 09:13:10 +08:00
parent 8fc8049eb8
commit b4b265cdef
3 changed files with 97 additions and 85 deletions

View File

@@ -79,6 +79,7 @@ void get_corners();
int main(void)
{
clock_init(SYSTEM_CLOCK_120M);
system_delay_init();
debug_init();
mt9v03x_init();
pwm_init(TIM2_PWM_MAP0_CH1_A0, 50, 1000);