From 0c9257ee54255a0e3761fbcdf9e5c1311822c730 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 08 十一月 2024 09:26:08 +0800 Subject: [PATCH] 2.15,同步时间目前是随机碰撞。 --- Src/application/dw_sync.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/application/dw_sync.c b/Src/application/dw_sync.c index 043d1a1..414f330 100644 --- a/Src/application/dw_sync.c +++ b/Src/application/dw_sync.c @@ -53,7 +53,7 @@ { lpcount -=32768; } - __HAL_LPTIM_COMPARE_SET(&hlptim1, lpcount); + // __HAL_LPTIM_COMPARE_SET(&hlptim1, lpcount); last_lpcount = lpcount; } @@ -76,7 +76,7 @@ { poll_startcount -=32768; } - __HAL_LPTIM_COMPARE_SET(&hlptim1, lpcount); + // __HAL_LPTIM_COMPARE_SET(&hlptim1, lpcount); last_lpcount = lpcount; } void WaitUntilPollStart(void) -- Gitblit v1.9.3