aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/GPT
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F4xx/GPT')
-rw-r--r--testhal/STM32F4xx/GPT/mcuconf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32F4xx/GPT/mcuconf.h b/testhal/STM32F4xx/GPT/mcuconf.h
index ff0f33ac3..7ebc4e8bc 100644
--- a/testhal/STM32F4xx/GPT/mcuconf.h
+++ b/testhal/STM32F4xx/GPT/mcuconf.h
@@ -152,7 +152,7 @@
#define STM32_I2C_I2C1_DMA_PRIORITY 3
#define STM32_I2C_I2C2_DMA_PRIORITY 3
#define STM32_I2C_I2C3_DMA_PRIORITY 3
-#define STM32_I2C_DMA_ERROR_HOOK(i2cp) chSysHalt("DMA failure")
+#define STM32_I2C_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
/*
* ICU driver system settings.