aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/gpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/gpt.c')
-rw-r--r--os/hal/src/gpt.c1
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 */