Skip to content

Commit ce87bda

Browse files
authored
Merge pull request #5913 from DBS06/efm32_flash_api
Add missing EFM32 HAL flash init/deinit function calls
2 parents 124fbf4 + 7719c25 commit ce87bda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/TARGET_Silicon_Labs/TARGET_EFM32/flash_api.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
int32_t flash_init(flash_t *obj)
3636
{
3737
(void)obj;
38+
MSC_Init();
3839
return 0;
3940
}
4041

@@ -46,6 +47,7 @@ int32_t flash_init(flash_t *obj)
4647
int32_t flash_free(flash_t *obj)
4748
{
4849
(void)obj;
50+
MSC_Deinit();
4951
return 0;
5052
}
5153

0 commit comments

Comments
 (0)