Merge pull request #5913 from DBS06/efm32_flash_api

Add missing EFM32 HAL flash init/deinit function calls
pull/5917/merge
Cruz Monrreal 2018-01-26 10:35:35 -06:00 committed by GitHub
commit ce87bdaf19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@
int32_t flash_init(flash_t *obj)
{
(void)obj;
MSC_Init();
return 0;
}
@ -46,6 +47,7 @@ int32_t flash_init(flash_t *obj)
int32_t flash_free(flash_t *obj)
{
(void)obj;
MSC_Deinit();
return 0;
}