Skip to content

Commit 71afcf6

Browse files
Yossi LevyYossi Levy
authored andcommitted
Adding return MBED_ERROR_UNSUPPORTED in _storage_config_default if no component is defined.
1 parent 719395f commit 71afcf6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/storage/kvstore/conf/kv_config.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,8 @@ int _storage_config_default()
10571057
return _storage_config_FILESYSTEM();
10581058
#elif COMPONENT_FLASHIAP
10591059
return _storage_config_TDB_INTERNAL();
1060+
#else
1061+
return MBED_ERROR_UNSUPPORTED;
10601062
#endif
10611063
}
10621064

0 commit comments

Comments
 (0)