修复代码错误

This commit is contained in:
nhkefus
2025-03-11 14:10:51 +08:00
parent a7f6e9379a
commit 3422912129
576 changed files with 39303 additions and 1012 deletions

View File

@@ -40,9 +40,7 @@ static OSStatus system_config_mode_worker( void *arg )
micoWlanPowerOn();
#if (MICO_WLAN_CONFIG_MODE == CONFIG_MODE_EASYLINK)
err = mico_easylink( in_context, MICO_TRUE, MICO_FALSE );
#elif (MICO_WLAN_CONFIG_MODE == CONFIG_MODE_EASYLINK_WITH_SOFTAP)
err = mico_easylink( in_context, MICO_TRUE, MICO_TRUE );
err = mico_easylink( in_context, MICO_TRUE );
#elif ( MICO_WLAN_CONFIG_MODE == CONFIG_MODE_SOFTAP)
err = mico_easylink_softap( in_context, MICO_TRUE );
#elif ( MICO_WLAN_CONFIG_MODE == CONFIG_MODE_MONITOR)
@@ -100,9 +98,8 @@ OSStatus mico_system_init( mico_Context_t* in_context )
#ifdef MICO_WLAN_CONNECTION_ENABLE
#ifndef EasyLink_Needs_Reboot
/* Create a worker thread for user handling wlan auto-conf event, this worker thread only has
one event on queue, avoid some unwanted operation */
err = mico_rtos_create_worker_thread( &wlan_autoconf_worker_thread, MICO_APPLICATION_PRIORITY, 0x500, 1 );
/* Create a worker thread for user handling wlan auto-conf event */
err = mico_rtos_create_worker_thread( &wlan_autoconf_worker_thread, MICO_APPLICATION_PRIORITY, 0x300, 1 );
require_noerr_string( err, exit, "ERROR: Unable to start the autoconf worker thread." );
#endif