We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2529550 commit f3d6bb5Copy full SHA for f3d6bb5
1 file changed
components/fal/src/fal.c
@@ -19,23 +19,25 @@
19
#endif
20
#include <rtdbg.h>
21
22
-static rt_uint8_t init_ok = 0;
+static rt_uint8_t init_ok = 0;
23
24
/**
25
* FAL (Flash Abstraction Layer) initialization.
26
* It will initialize all flash device and all flash partition.
27
*
28
* @return >= 0: partitions total number
29
*/
30
-int fal_init(void)
+int fal_init( void)
31
+
32
{
33
extern int fal_flash_init(void);
34
extern int fal_partition_init(void);
35
36
int result;
37
38
/* initialize all flash device on FAL flash table */
- result = fal_flash_init();
39
+ result =
40
+ fal_flash_init();
41
42
if (result < 0) {
43
goto __exit;
0 commit comments