diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-29 19:27:32 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-29 19:27:32 +0000 |
commit | 042c2ddba82250d60de4882ae7b0293666747d2d (patch) | |
tree | bb9474fd7a7e7177208086de62028a7dc1c2f368 /os/hal | |
parent | a782151cc5873d28679b54bb010247439265b8c6 (diff) | |
download | ChibiOS-042c2ddba82250d60de4882ae7b0293666747d2d.tar.gz ChibiOS-042c2ddba82250d60de4882ae7b0293666747d2d.tar.bz2 ChibiOS-042c2ddba82250d60de4882ae7b0293666747d2d.zip |
STM32. GPT. Removed prefix "stm32" from names of functions changing interval.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5518 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/include/gpt.h | 4 | ||||
-rw-r--r-- | os/hal/src/gpt.c | 4 |
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();
}
|