Adding return MBED_ERROR_UNSUPPORTED in _storage_config_default if no component is defined.

pull/9370/head
Yossi Levy 2019-01-07 16:50:06 +02:00 committed by adbridge
parent 40263b3c5c
commit 98f6364e87
1 changed files with 2 additions and 0 deletions

View File

@ -1057,6 +1057,8 @@ int _storage_config_default()
return _storage_config_FILESYSTEM();
#elif COMPONENT_FLASHIAP
return _storage_config_TDB_INTERNAL();
#else
return MBED_ERROR_UNSUPPORTED;
#endif
}