aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-08-26 18:38:24 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-08-26 18:38:24 +0000
commit425bc3d030f266e8dd09ddb5dff8302ed67f4390 (patch)
treefb70f3737b11e182b3d0ec2984b3f3f96186868a
parentc0df75d7938e10e0916c6a64b1376626de1f7a4f (diff)
downloadChibiOS-425bc3d030f266e8dd09ddb5dff8302ed67f4390.tar.gz
ChibiOS-425bc3d030f266e8dd09ddb5dff8302ed67f4390.tar.bz2
ChibiOS-425bc3d030f266e8dd09ddb5dff8302ed67f4390.zip
[FSMC SRAM] Naming convention fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7201 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.c6
-rw-r--r--os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.h6
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_SRAM/main.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.c b/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.c
index 5dbfe1eec..44f7ff26c 100644
--- a/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.c
+++ b/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.c
@@ -90,7 +90,7 @@ SRAMDriver SRAMD4;
*
* @notapi
*/
-void fsmc_sram_init(void) {
+void fsmcSramInit(void) {
fsmc_init();
@@ -123,7 +123,7 @@ void fsmc_sram_init(void) {
*
* @notapi
*/
-void fsmc_sram_start(SRAMDriver *sramp, const SRAMConfig *cfgp) {
+void fsmcSramStart(SRAMDriver *sramp, const SRAMConfig *cfgp) {
if (FSMCD1.state == FSMC_STOP)
fsmc_start(&FSMCD1);
@@ -145,7 +145,7 @@ void fsmc_sram_start(SRAMDriver *sramp, const SRAMConfig *cfgp) {
*
* @notapi
*/
-void fsmc_sram_stop(SRAMDriver *sramp) {
+void fsmcSramStop(SRAMDriver *sramp) {
if (sramp->state == SRAM_READY) {
sramp->sram->BCR &= ~FSMC_BCR_MBKEN;
diff --git a/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.h b/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.h
index 53c79fdc9..0113a04cb 100644
--- a/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.h
+++ b/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.h
@@ -159,9 +159,9 @@ extern SRAMDriver SRAMD4;
#ifdef __cplusplus
extern "C" {
#endif
- void fsmc_sram_init(void);
- void fsmc_sram_start(SRAMDriver *sramp, const SRAMConfig *cfgp);
- void fsmc_sram_stop(SRAMDriver *sramp);
+ void fsmcSramInit(void);
+ void fsmcSramStart(SRAMDriver *sramp, const SRAMConfig *cfgp);
+ void fsmcSramStop(SRAMDriver *sramp);
#ifdef __cplusplus
}
#endif
diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c b/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c
index de591fbc5..ba5c28d89 100644
--- a/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c
+++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c
@@ -152,8 +152,8 @@ int main(void) {
halInit();
chSysInit();
- fsmc_sram_init();
- fsmc_sram_start(&SRAMD4, &sram_cfg);
+ fsmcSramInit();
+ fsmcSramStart(&SRAMD4, &sram_cfg);
sram_benchmark();
#if USE_INFINITE_MEMTEST