From a175f0d820dc125367073c30a1fb6029b419621d Mon Sep 17 00:00:00 2001 From: Mark Ellis Date: Sun, 15 Nov 2026 23:05:38 +0100 Subject: [PATCH] ht32 widened BFTM counter type to 32 bits --- os/hal/ports/HT32/LLD/TIMv1/hal_gpt_lld.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/hal/ports/HT32/LLD/TIMv1/hal_gpt_lld.h b/os/hal/ports/HT32/LLD/TIMv1/hal_gpt_lld.h index 78635b1a8c..1ed5cca8f0 100644 --- a/os/hal/ports/HT32/LLD/TIMv1/hal_gpt_lld.h +++ b/os/hal/ports/HT32/LLD/TIMv1/hal_gpt_lld.h @@ -80,7 +80,7 @@ typedef uint32_t gptfreq_t; /** * @brief GPT counter type. */ -typedef uint16_t gptcnt_t; +typedef uint32_t gptcnt_t; /** * @brief Driver configuration structure.