mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #5913 from DBS06/efm32_flash_api
Add missing EFM32 HAL flash init/deinit function callspull/5917/merge
commit
ce87bdaf19
|
@ -35,6 +35,7 @@
|
||||||
int32_t flash_init(flash_t *obj)
|
int32_t flash_init(flash_t *obj)
|
||||||
{
|
{
|
||||||
(void)obj;
|
(void)obj;
|
||||||
|
MSC_Init();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,6 +47,7 @@ int32_t flash_init(flash_t *obj)
|
||||||
int32_t flash_free(flash_t *obj)
|
int32_t flash_free(flash_t *obj)
|
||||||
{
|
{
|
||||||
(void)obj;
|
(void)obj;
|
||||||
|
MSC_Deinit();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue