diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-19 12:54:13 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-19 12:54:13 +0000 |
commit | bae85ff69f0037ae22bb9bf1fada5762f7db4292 (patch) | |
tree | 1b94b8015c1806b756c7b3fa385f0e25f31cbaa6 /os/hal | |
parent | 79f641c928cc438ab41df0eab6850355f07edd1d (diff) | |
download | ChibiOS-bae85ff69f0037ae22bb9bf1fada5762f7db4292.tar.gz ChibiOS-bae85ff69f0037ae22bb9bf1fada5762f7db4292.tar.bz2 ChibiOS-bae85ff69f0037ae22bb9bf1fada5762f7db4292.zip |
Fixed problem in gptPolledDelay().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3350 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/src/gpt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/src/gpt.c b/os/hal/src/gpt.c index c677f5284..726936ca8 100644 --- a/os/hal/src/gpt.c +++ b/os/hal/src/gpt.c @@ -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 */
|