各位高手,小弟正在基于庆科micokit-3165开发板和MICO操作系统开发应用。正在调试micokit_enjoy工程。运行完成“uint32_t activate_retry_interval = 3;”后,查看activate_retry_interval的值为2779096485,请教activate_retry_interval的值为什么不等于3?谢谢!部分代码如下: void fogcloud_main_thread(void *arg) { OSStatus err = kUnknownErr; app_context_t* inContext = (app_context_t *)arg; MVDResetRequestData_t devResetRequestData; #ifdefENABLE_FOGCLOUD_AUTO_ACTIVATE MVDActivateRequestData_t devDefaultActivateData; uint32_t activate_retry_interval = 3; #endif activate_retry_interval = 3; /* wait for station on */ while(!inContext->appStatus.isWifiConnected){ mico_thread_msleep(500); } //--- create msg recv queue, NOTE: just push msg pionter into queue, somsg memory must be freed after used. if(NULL == msg_recv_queue_mutex){ err = mico_rtos_init_mutex(&msg_recv_queue_mutex); require_noerr_action(err,exit,fogcloud_log("ERROR: mico_rtos_init_mutex (msg_recv_queue_mutex)failed, err=%d.", err)); }
|