This commit is contained in:
Philippe G
2021-11-27 00:11:10 -08:00
parent 92260f939d
commit 17a3058b23
2 changed files with 6 additions and 13 deletions

View File

@@ -8,9 +8,7 @@
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#define DECLARE_SET_DEFAULT(t) void config_set_default_## t (const char *key, t value);
#define DECLARE_GET_NUM(t) esp_err_t config_get_## t (const char *key, t * value);
#ifndef FREE_RESET
@@ -45,3 +43,7 @@ esp_err_t config_set_value(nvs_type_t nvs_type, const char *key, const void * va
nvs_type_t config_get_item_type(cJSON * entry);
void * config_safe_alloc_get_entry_value(nvs_type_t nvs_type, cJSON * entry);
#ifdef __cplusplus
}
#endif

View File

@@ -15,19 +15,10 @@ idf_component_register( SRC_DIRS . external ac101 tas57xx wm8978
EMBED_FILES vu.data
)
set_source_files_properties(mad.c
set_source_files_properties(mad.c pcm.c flac.c alac.c helix-aac.c vorbis.c opus.c
PROPERTIES COMPILE_FLAGS
-Wno-maybe-uninitialized
)
set_source_files_properties(pcm.c
PROPERTIES COMPILE_FLAGS
-Wno-maybe-uninitialized
)
set_source_files_properties(flac.c
PROPERTIES COMPILE_FLAGS
-Wno-maybe-uninitialized
)
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DCUSTOM_VERSION=${BUILD_NUMBER})