diff --git a/zephyr/samples/client_tls/user_settings.h b/zephyr/samples/client_tls/user_settings.h index c0a567390..417db32ec 100644 --- a/zephyr/samples/client_tls/user_settings.h +++ b/zephyr/samples/client_tls/user_settings.h @@ -5,8 +5,9 @@ extern "C" { #endif -#ifdef CONFIG_WOLFSSL_SETTINGS_FILE -#include CONFIG_WOLFSSL_SETTINGS_FILE +/* If a custom user_settings file is provided use it instead */ +#ifdef WOLFSSL_SETTINGS_FILE +#include WOLFSSL_SETTINGS_FILE #endif #undef NO_FILESYSTEM