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.