File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
targets/TARGET_Cypress/TARGET_PSOC6/COMPONENT_SCL/src/IPC Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,17 @@ scl_result_t scl_init(void)
199
199
{
200
200
scl_result_t retval = SCL_SUCCESS ;
201
201
uint32_t configuration_parameters = 0 ;
202
-
202
+ #ifdef MBED_CONF_TARGET_NP_CLOUD_DISABLE
203
203
configuration_parameters = MBED_CONF_TARGET_NP_CLOUD_DISABLE ;
204
+ #else
205
+ configuration_parameters = false;
206
+ #endif
204
207
configuration_parameters = configuration_parameters << 1 ;
208
+ #ifdef MBED_CONF_TARGET_NP_WIFI_ENABLE
205
209
configuration_parameters |= MBED_CONF_TARGET_NP_WIFI_ENABLE ;
210
+ #else
211
+ configuration_parameters |= false;
212
+ #endif
206
213
//SCL_LOG("configuration_parameters = %lu\n", configuration_parameters);
207
214
scl_config ();
208
215
if (g_scl_thread_info .scl_inited != SCL_TRUE ) {
You can’t perform that action at this time.
0 commit comments