stm32f4: fmc: add missing DECLS wrappers

Function prototypes need DECLS wrappers for inclusion in c++/asm
This commit is contained in:
ALeX Kazik 2019-01-22 18:12:14 +01:00 committed by Karl Palsson
parent c4c0d14ea4
commit 8064f6d0cb

View File

@ -243,7 +243,12 @@ enum fmc_sdram_command { SDRAM_CLK_CONF, SDRAM_NORMAL, SDRAM_PALL,
/* Send an array of timing parameters (indices above) to create SDTR register /* Send an array of timing parameters (indices above) to create SDTR register
* value * value
*/ */
BEGIN_DECLS
uint32_t sdram_timing(struct sdram_timing *t); uint32_t sdram_timing(struct sdram_timing *t);
void sdram_command(enum fmc_sdram_bank bank, enum fmc_sdram_command cmd, void sdram_command(enum fmc_sdram_bank bank, enum fmc_sdram_command cmd,
int autorefresh, int modereg); int autorefresh, int modereg);
END_DECLS
#endif #endif