Fixed problem in gptPolledDelay().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3350 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
79f641c928
commit
bae85ff69f
|
@ -236,6 +236,7 @@ void gptPolledDelay(GPTDriver *gptp, gptcnt_t interval) {
|
|||
|
||||
gptp->state = GPT_ONESHOT;
|
||||
gpt_lld_polled_delay(gptp, interval);
|
||||
gptp->state = GPT_READY;
|
||||
}
|
||||
|
||||
#endif /* HAL_USE_GPT */
|
||||
|
|
Loading…
Reference in New Issue