diff --git a/source/main.cpp b/source/main.cpp index eeecf125..152ad53a 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -414,14 +414,10 @@ int main(int argc, char *argv[]) attemptConnection(); #endif -#if defined(EXCLUDE_SECURE_ELEMENT) && !defined(DISABLE_MQTT) +#if !defined(EXCLUDE_SECURE_ELEMENT) && !defined(DISABLE_MQTT) if (config.config.secureElement.enabled) { - LOGM_ERROR( - TAG, - "*** %s: Secure Element configuration is enabled but feature is not compiled into binary.", - DC_FATAL_ERROR); - deviceClientAbort("Invalid configuration", EXIT_FAILURE); + LOG_INFO(TAG, "Secure element is enabled"); } else {