diff options
-rw-r--r-- | os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.c | 6 | ||||
-rw-r--r-- | os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram.h | 6 | ||||
-rw-r--r-- | testhal/STM32/STM32F4xx/FSMC_SRAM/main.c | 4 |
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 |