diff --git a/os/hal/src/gpt.c b/os/hal/src/gpt.c index e37e1a5d8..eefeb8e32 100644 --- a/os/hal/src/gpt.c +++ b/os/hal/src/gpt.c @@ -86,7 +86,7 @@ void gptObjectInit(GPTDriver *gptp) { */ void gptStart(GPTDriver *gptp, const GPTConfig *config) { - chDbgCheck((gptp != NULL) && (config != NULL), "ptStart"); + chDbgCheck((gptp != NULL) && (config != NULL), "gptStart"); chSysLock(); chDbgAssert((gptp->state == GPT_STOP) || (gptp->state == GPT_READY),