From 708a3f9c4a671605469f95b33618b933ad72dff2 Mon Sep 17 00:00:00 2001 From: Philippe G Date: Sun, 6 Sep 2020 17:06:52 -0700 Subject: [PATCH] small tweaks --- components/display/display.c | 2 +- components/display/display.h | 2 +- components/services/CMakeLists.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/display/display.c b/components/display/display.c index e4ef8026..0069ac39 100644 --- a/components/display/display.c +++ b/components/display/display.c @@ -400,7 +400,7 @@ const char *display_conf_get_driver_name(char * driver){ /**************************************************************************************** * */ -char * display_get_supported_drivers(){ +char * display_get_supported_drivers(void){ int total_size = 1; char * supported_drivers=NULL; const char * separator = "|"; diff --git a/components/display/display.h b/components/display/display.h index d5eeab97..dff354ca 100644 --- a/components/display/display.h +++ b/components/display/display.h @@ -39,4 +39,4 @@ void displayer_scroll(char *string, int speed, int pause); void displayer_control(enum displayer_cmd_e cmd, ...); void displayer_metadata(char *artist, char *album, char *title); void displayer_timer(enum displayer_time_e mode, int elapsed, int duration); -char * display_get_supported_drivers(); +char * display_get_supported_drivers(void); diff --git a/components/services/CMakeLists.txt b/components/services/CMakeLists.txt index f49dd5d3..23b4b943 100644 --- a/components/services/CMakeLists.txt +++ b/components/services/CMakeLists.txt @@ -1,6 +1,6 @@ idf_component_register(SRC_DIRS . - INCLUDE_DIRS . ${IDF_PATH}/components/driver - REQUIRES json tools platform_config display + INCLUDE_DIRS . + REQUIRES json tools platform_config display )