aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/include/gpt.h4
-rw-r--r--os/hal/src/gpt.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/include/gpt.h b/os/hal/include/gpt.h
index 379b90be9..3b474cb14 100644
--- a/os/hal/include/gpt.h
+++ b/os/hal/include/gpt.h
@@ -89,7 +89,7 @@ typedef void (*gptcallback_t)(GPTDriver *gptp);
*
* @iclass
*/
-#define stm32_gptChangeIntervalI(gptp, interval) { \
+#define gptChangeIntervalI(gptp, interval) { \
gpt_lld_change_interval(gptp, interval); \
}
@@ -106,7 +106,7 @@ extern "C" {
void gptStop(GPTDriver *gptp);
void gptStartContinuous(GPTDriver *gptp, gptcnt_t interval);
void gptStartContinuousI(GPTDriver *gptp, gptcnt_t interval);
- void stm32_gptChangeInterval(GPTDriver *gptp, gptcnt_t interval);
+ void gptChangeInterval(GPTDriver *gptp, gptcnt_t interval);
void gptStartOneShot(GPTDriver *gptp, gptcnt_t interval);
void gptStartOneShotI(GPTDriver *gptp, gptcnt_t interval);
void gptStopTimer(GPTDriver *gptp);
diff --git a/os/hal/src/gpt.c b/os/hal/src/gpt.c
index 9b7c0d9a6..e37e1a5d8 100644
--- a/os/hal/src/gpt.c
+++ b/os/hal/src/gpt.c
@@ -129,14 +129,14 @@ void gptStop(GPTDriver *gptp) {
*
* @api
*/
-void stm32_gptChangeInterval(GPTDriver *gptp, gptcnt_t interval) {
+void gptChangeInterval(GPTDriver *gptp, gptcnt_t interval) {
chDbgCheck(gptp != NULL, "gptChangeInterval");
chSysLock();
chDbgAssert(gptp->state == GPT_CONTINUOUS,
"gptChangeInterval(), #1", "invalid state");
- stm32_gptChangeIntervalI(gptp, interval);
+ gptChangeIntervalI(gptp, interval);
chSysUnlock();
}