git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10139 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
aca6f94019
commit
9a6be97248
|
@ -824,7 +824,7 @@ void gpt_lld_start_timer(GPTDriver *gptp, gptcnt_t interval) {
|
|||
gptp->tim->CNT = 0; /* Reset counter. */
|
||||
|
||||
/* NOTE: After generating the UG event it takes several clock cycles before
|
||||
SR bit 0 goes to 1. This is because the clearing of CNT has been inserted
|
||||
SR bit 0 goes to 1. This is why the clearing of CNT has been inserted
|
||||
before the clearing of SR, to give it some time.*/
|
||||
gptp->tim->SR = 0; /* Clear pending IRQs. */
|
||||
if (NULL != gptp->config->callback)
|
||||
|
|
Loading…
Reference in New Issue