mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 19:47:02 +03:00
cleaning
This commit is contained in:
@@ -8,9 +8,7 @@
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#define DECLARE_SET_DEFAULT(t) void config_set_default_## t (const char *key, t value);
|
#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);
|
#define DECLARE_GET_NUM(t) esp_err_t config_get_## t (const char *key, t * value);
|
||||||
#ifndef FREE_RESET
|
#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);
|
nvs_type_t config_get_item_type(cJSON * entry);
|
||||||
void * config_safe_alloc_get_entry_value(nvs_type_t nvs_type, cJSON * entry);
|
void * config_safe_alloc_get_entry_value(nvs_type_t nvs_type, cJSON * entry);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -15,19 +15,10 @@ idf_component_register( SRC_DIRS . external ac101 tas57xx wm8978
|
|||||||
EMBED_FILES vu.data
|
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
|
PROPERTIES COMPILE_FLAGS
|
||||||
-Wno-maybe-uninitialized
|
-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})
|
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DCUSTOM_VERSION=${BUILD_NUMBER})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user